Class PollHotFolderListener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PollHotFolderListener

        public PollHotFolderListener​(IPollHandler theHandler)
        Parameters:
        theHandler - the poll handler to watch this folder with
    • Method Detail

      • hotFile

        public boolean hotFile​(java.io.File hotFile)
        Description copied from interface: HotFolderListener
        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
        Specified by:
        hotFile in interface HotFolderListener
        Parameters:
        hotFile -
        Returns:
        true if all went well, else false
        See Also:
        HotFolderListener.hotFile(java.io.File)
      • getUrl

        protected java.lang.String getUrl​(java.io.File hotFile)
        get a URL for the HotFile default: use the hotfolder Name
        Parameters:
        hotFile -
        Returns: