Class PollHotFolder

java.lang.Object
org.cip4.jdflib.util.hotfolder.StorageHotFolder
org.cip4.jdflib.util.hotfolder.PollHotFolder

public class PollHotFolder extends StorageHotFolder
  • Constructor Details

    • PollHotFolder

      public PollHotFolder(File _hotFolderDir, File _storageDir, String ext, IPollHandler handler)
      constructor for a simple queue based hotfolder watcher that is automagically started in its own thread
      Parameters:
      _hotFolderDir - the hot folder directory to watch
      _storageDir - the storage directory where hot files are moved to
      ext - the comma separated list of file extensions that are moved - if null no filtering
      handler - callback that receives the generated JMF - the location of the stored file will be found in the standard command parameters