Package org.cip4.jdflib.util.hotfolder
Interface HotFolderListener
-
- All Known Implementing Classes:
PollHotFolderListener,QueueHotFolderListenerImpl
public interface HotFolderListenera hotfolder watcher Listener callback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhotFile(java.io.File hotFile)this interface function is called whenever a new or modified file has stabilized in the hotFolder note: make sure to close all streams so that deleting temp files does not fail
-
-
-
Method Detail
-
hotFile
boolean hotFile(java.io.File hotFile)
this interface function is called whenever a new or modified file has stabilized in the hotFolder note: make sure to close all streams so that deleting temp files does not fail- Parameters:
hotFile- the File that has appeared in the hot folder- Returns:
- true if all went well, else false
-
-