Package com.drew.tools
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 Summary
Modifier and TypeMethodDescriptionvoidonBeforeExtraction(File file, PrintStream log, String relativePath) Called before extraction is performed onfilePath.voidonExtractionError(File file, Throwable throwable, PrintStream log) Called when extraction onfilePathresulted in an exception.voidonExtractionSuccess(File file, Metadata metadata, String relativePath, PrintStream log) Called when extraction onfilePathcompleted without an exception.voidCalled when all files have been processed.voidonStartingDirectory(File directoryPath) Called when the scan is about to start processing files in directorypath.booleanshouldProcess(File file) Called to determine whether the implementation should processfilePath.
-
Method Details
-
onStartingDirectory
Called when the scan is about to start processing files in directorypath. -
shouldProcess
Called to determine whether the implementation should processfilePath. -
onBeforeExtraction
Called before extraction is performed onfilePath. -
onExtractionSuccess
Called when extraction onfilePathcompleted without an exception. -
onExtractionError
Called when extraction onfilePathresulted in an exception. -
onScanCompleted
Called when all files have been processed.
-