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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBeforeExtraction(java.io.File file, java.io.PrintStream log, java.lang.String relativePath)Called before extraction is performed onfilePath.voidonExtractionError(java.io.File file, java.lang.Throwable throwable, java.io.PrintStream log)Called when extraction onfilePathresulted in an exception.voidonExtractionSuccess(java.io.File file, Metadata metadata, java.lang.String relativePath, java.io.PrintStream log)Called when extraction onfilePathcompleted without an exception.voidonScanCompleted(java.io.PrintStream log)Called when all files have been processed.voidonStartingDirectory(java.io.File directoryPath)Called when the scan is about to start processing files in directorypath.booleanshouldProcess(java.io.File file)Called to determine whether the implementation should processfilePath.
-
-
-
Method Detail
-
onStartingDirectory
void onStartingDirectory(java.io.File directoryPath)
Called when the scan is about to start processing files in directorypath.
-
shouldProcess
boolean shouldProcess(java.io.File file)
Called to determine whether the implementation should processfilePath.
-
onBeforeExtraction
void onBeforeExtraction(java.io.File file, java.io.PrintStream log, java.lang.String relativePath)Called before extraction is performed onfilePath.
-
onExtractionSuccess
void onExtractionSuccess(java.io.File file, Metadata metadata, java.lang.String relativePath, java.io.PrintStream log)Called when extraction onfilePathcompleted without an exception.
-
onExtractionError
void onExtractionError(java.io.File file, java.lang.Throwable throwable, java.io.PrintStream log)Called when extraction onfilePathresulted in an exception.
-
onScanCompleted
void onScanCompleted(java.io.PrintStream log)
Called when all files have been processed.
-
-