Class PollHotFolder

    • Constructor Detail

      • PollHotFolder

        public PollHotFolder​(java.io.File _hotFolderDir,
                             java.io.File _storageDir,
                             java.lang.String ext,
                             IPollHandler handler)
        constructor for a simple queue based hotfolder watcher that is automagically started in its own thread
        Parameters:
        _hotFolderDir - the hot folder directory to watch
        _storageDir - the storage directory where hot files are moved to
        ext - the comma separated list of file extensions that are moved - if null no filtering
        handler - callback that receives the generated JMF - the location of the stored file will be found in the standard command parameters