Package org.cip4.jdflib.util.hotfolder
Class PollHotFolder
java.lang.Object
org.cip4.jdflib.util.hotfolder.StorageHotFolder
org.cip4.jdflib.util.hotfolder.PollHotFolder
-
Constructor Summary
ConstructorsConstructorDescriptionPollHotFolder(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, copyCompleted, getHfDirectory, getListener, getMaxConcurrent, getRetry, getStabilizeTime, isProcessAux, isSynchronous, restart, setErrorStorage, setMaxAux, setMaxCheck, setMaxConcurrent, setMaxStore, setOKStorage, setProcessAux, setRetry, setStabilizeTime, setSynchronous, stop, toString
-
Constructor Details
-
PollHotFolder
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 toext- the comma separated list of file extensions that are moved - if null no filteringhandler- callback that receives the generated JMF - the location of the stored file will be found in the standard command parameters
-