Package com.etown.lucene

Examples of com.etown.lucene.FileScheduler.schedule()


    //创建local_files文件监控任务
    FileSchedulerTask fileSchedulerTask = new FileSchedulerTask(System
        .getProperty("web.home")
        + System.getProperty("luceneLocalFolder"));
    FileScheduler fileScheduler = new FileScheduler();
    fileScheduler.schedule(fileSchedulerTask, new TimeStep());
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.