org.cip4.jdflib.util.hotfolder
Interface HotFolderListener

All Known Implementing Classes:
PollHotFolderListener, QueueHotFolderListenerImpl

public interface HotFolderListener

a hotfolder watcher Listener callback

Author:
rainer prosi

Method Summary
 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
 

Method Detail

hotFile

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

Parameters:
hotFile - the File that has appeared in the hot folder
Returns:
true if all went well, else false


Copyright © 2013. All Rights Reserved.