Class MovingNonDeletingFsConsumer

    • Constructor Detail

      • MovingNonDeletingFsConsumer

        public MovingNonDeletingFsConsumer()
    • Method Detail

      • processFile

        protected int processFile​(java.io.File file)
                           throws CoreException
        Attempt to process this file which might be a directory..
        Overrides:
        processFile in class NonDeletingFsConsumer
        Parameters:
        file - the File
        Returns:
        the number of files processed.
        Throws:
        CoreException - wrapping any other Exception.
      • setProcessedPath

        public void setProcessedPath​(java.lang.String s)
        Set where processed file are placed once done with.
        Parameters:
        s - Set the processed path.
      • getProcessedPath

        public java.lang.String getProcessedPath()
        Get the path where processed files are placed once done with.
        Returns:
        Get the processed path.