Interface FileProcessor

    • Method Detail

      • process

        boolean process​(java.io.File file,
                        java.util.Map<java.lang.String,​java.lang.Object> ctxt)
                 throws ProcessingException
        Method invoked to process a file.
        Parameters:
        file - the file to process
        ctxt - a Map to share informations between processings.
        Returns:
        true if the process was successfully performed, false if no action was processed (do not return false in case of error, instead throw a ProcessingException).
        Throws:
        ProcessingException - if the processing operation failed or if the file should be blacklisted (for this or all processors)