public class QueueHotFolder extends StorageHotFolder
| Constructor and Description |
|---|
QueueHotFolder(java.io.File _hotFolderDir,
java.io.File _storageDir,
java.lang.String ext,
QueueHotFolderListenerImpl hfListenerImpl)
new constructo that allows you to override QueueHotFolderListenerImpl
|
QueueHotFolder(java.io.File _hotFolderDir,
java.io.File _storageDir,
java.lang.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() |
java.lang.String |
toString() |
addListener, copyCompleted, getHfDirectory, getMaxConcurrent, getRetry, getStabilizeTime, restart, setErrorStorage, setMaxAux, setMaxConcurrent, setMaxStore, setOKStorage, setRetry, setStabilizeTime, stoppublic QueueHotFolder(java.io.File _hotFolderDir,
java.io.File _storageDir,
java.lang.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 QueueHotFolder(java.io.File _hotFolderDir,
java.io.File _storageDir,
java.lang.String ext,
QueueHotFolderListenerImpl hfListenerImpl)
_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 filteringhfListenerImpl - public java.lang.String toString()
toString in class StorageHotFolderObject.toString()public QueueHotFolderListener getQueueListener()