public class PollHotFolderListener extends Object implements HotFolderListener
Constructor and Description |
---|
PollHotFolderListener(IPollHandler theHandler) |
Modifier and Type | Method and Description |
---|---|
protected String |
getUrl(File hotFile)
get a URL for the HotFile default: use the hotfolder Name
|
boolean |
hotFile(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(File hotFile)
HotFolderListener
hotFile
in interface HotFolderListener
hotFile
- HotFolderListener.hotFile(java.io.File)
Copyright © 2018. All rights reserved.