Package org.cip4.jdflib.util.hotfolder
Class PollHotFolderListener
java.lang.Object
org.cip4.jdflib.util.hotfolder.PollHotFolderListener
- All Implemented Interfaces:
HotFolderListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringget a URL for the HotFile default: use the hotfolder Namebooleanthis 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
-
Constructor Details
-
PollHotFolderListener
- Parameters:
theHandler- the poll handler to watch this folder with
-
-
Method Details
-
hotFile
Description copied from interface:HotFolderListenerthis 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- Specified by:
hotFilein interfaceHotFolderListener- Parameters:
hotFile-- Returns:
- true if all went well, else false
- See Also:
-
getUrl
get a URL for the HotFile default: use the hotfolder Name- Parameters:
hotFile-- Returns:
-