Home » quartz-1.6.0 » org » quartz » jobs » [javadoc | source]
org.quartz.jobs
public class: FileScanJob [javadoc | source]
java.lang.Object
   org.quartz.jobs.FileScanJob

All Implemented Interfaces:
    StatefulJob

Inspects a file and compares whether it's "last modified date" has changed since the last time it was inspected. If the file has been updated, the job invokes a "call-back" method on an identified FileScanListener that can be found in the SchedulerContext.
Field Summary
public static  String FILE_NAME     
public static  String FILE_SCAN_LISTENER_NAME     
Constructor:
 public FileScanJob() 
Method from org.quartz.jobs.FileScanJob Summary:
execute,   getLastModifiedDate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.jobs.FileScanJob Detail:
 public  void execute(JobExecutionContext context) throws JobExecutionException 
 protected long getLastModifiedDate(String fileName)