public class PollHotFolderListener extends java.lang.Object implements HotFolderListener
| Constructor and Description |
|---|
PollHotFolderListener(IPollHandler theHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getUrl(java.io.File hotFile)
get a URL for the HotFile default: use the hotfolder Name
|
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
|
public PollHotFolderListener(IPollHandler theHandler)
theHandler - the poll handler to watch this folder withpublic boolean hotFile(java.io.File hotFile)
HotFolderListenerhotFile in interface HotFolderListenerhotFile - HotFolderListener.hotFile(java.io.File)protected java.lang.String getUrl(java.io.File hotFile)
hotFile -