public class QueueHotFolder extends StorageHotFolder
hf, log| Constructor and Description |
|---|
QueueHotFolder(File _hotFolderDir,
File _storageDir,
String ext,
QueueHotFolderListener hfListener,
JDFJMF _queueCommand)
constructor for a simple queue based hotfolder watcher that is automagically started in its own thread
|
| Modifier and Type | Method and Description |
|---|---|
QueueHotFolderListener |
getQueueListener() |
String |
toString() |
addListener, copyCompleted, getHfDirectory, restart, setErrorStorage, setMaxStore, setOKStorage, stoppublic QueueHotFolder(File _hotFolderDir, File _storageDir, String ext, QueueHotFolderListener hfListener, JDFJMF _queueCommand)
_hotFolderDir - the hot folder directory to watch_storageDir - the storage directory where hot files are moved toext - the file extensions that are moved - if null no filteringhfListener - callback that receives the generated JMF - the location of the stored file will be found in the standard command parameters_queueCommand - the jmf template that will be used to generate a new message, null creates an empty SubmitQueueEntry templatepublic String toString()
toString in class ObjectObject.toString()public QueueHotFolderListener getQueueListener()
Copyright © 2013. All Rights Reserved.