code: public synchronized void monitor(String directory, String fileNameFilter, boolean processCurrentFiles)
     {
  
        timer.schedule(
              new FileMonitorNotifier(this, directory, fileNameFilter, processCurrentFiles)
  	    , 0,
              pollingInterval);
     }
docs: Add file to observer for. File may be any java.io.File (including a
  directory) and may well be a non-existing file in the case where the
  creating of the file is to be trepped.
  <p>
  More than one file can be listened for. When the specified file is
  created, modified or deleted, listeners are notified.
  
  @param directory the directory to listen for.
  @param fileNameFilter the file name
  @param processCurrentFiles whether to process current names