Interface HotFolderListener

All Known Implementing Classes:
PollHotFolderListener, QueueHotFolderListenerImpl

public interface HotFolderListener
a hotfolder watcher Listener callback
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • 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