Interface ProcessAllImagesInFolderUtility.FileHandler

All Known Implementing Classes:
ProcessAllImagesInFolderUtility.BasicFileHandler, ProcessAllImagesInFolderUtility.FileHandlerBase, ProcessAllImagesInFolderUtility.MarkdownTableOutputHandler, ProcessAllImagesInFolderUtility.TextFileOutputHandler, ProcessAllImagesInFolderUtility.UnknownTagHandler
Enclosing class:
ProcessAllImagesInFolderUtility

static interface ProcessAllImagesInFolderUtility.FileHandler
  • Method Details

    • onStartingDirectory

      void onStartingDirectory(File directoryPath)
      Called when the scan is about to start processing files in directory path.
    • shouldProcess

      boolean shouldProcess(File file)
      Called to determine whether the implementation should process filePath.
    • onBeforeExtraction

      void onBeforeExtraction(File file, PrintStream log, String relativePath)
      Called before extraction is performed on filePath.
    • onExtractionSuccess

      void onExtractionSuccess(File file, Metadata metadata, String relativePath, PrintStream log)
      Called when extraction on filePath completed without an exception.
    • onExtractionError

      void onExtractionError(File file, Throwable throwable, PrintStream log)
      Called when extraction on filePath resulted in an exception.
    • onScanCompleted

      void onScanCompleted(PrintStream log)
      Called when all files have been processed.