static interface ProcessAllImagesInFolderUtility.FileHandler
Modifier and Type | Method and Description |
---|---|
void |
onBeforeExtraction(java.io.File file,
java.io.PrintStream log,
java.lang.String relativePath)
Called before extraction is performed on
filePath . |
void |
onExtractionError(java.io.File file,
java.lang.Throwable throwable,
java.io.PrintStream log)
Called when extraction on
filePath resulted in an exception. |
void |
onExtractionSuccess(java.io.File file,
Metadata metadata,
java.lang.String relativePath,
java.io.PrintStream log)
Called when extraction on
filePath completed without an exception. |
void |
onScanCompleted(java.io.PrintStream log)
Called when all files have been processed.
|
void |
onStartingDirectory(java.io.File directoryPath)
Called when the scan is about to start processing files in directory
path . |
boolean |
shouldProcess(java.io.File file)
Called to determine whether the implementation should process
filePath . |
void onStartingDirectory(java.io.File directoryPath)
path
.boolean shouldProcess(java.io.File file)
filePath
.void onBeforeExtraction(java.io.File file, java.io.PrintStream log, java.lang.String relativePath)
filePath
.void onExtractionSuccess(java.io.File file, Metadata metadata, java.lang.String relativePath, java.io.PrintStream log)
filePath
completed without an exception.void onExtractionError(java.io.File file, java.lang.Throwable throwable, java.io.PrintStream log)
filePath
resulted in an exception.void onScanCompleted(java.io.PrintStream log)