org.cip4.jdflib.util.hotfolder
Class PollHotFolder

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

public class PollHotFolder
extends StorageHotFolder

Author:
rainer prosi

Field Summary
 
Fields inherited from class org.cip4.jdflib.util.hotfolder.StorageHotFolder
hf, log
 
Constructor Summary
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
 
Method Summary
 
Methods inherited from class org.cip4.jdflib.util.hotfolder.StorageHotFolder
addListener, copyCompleted, getHfDirectory, restart, setErrorStorage, setMaxStore, setOKStorage, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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


Copyright © 2013. All Rights Reserved.