Package com.drew.tools
Class ProcessAllImagesInFolderUtility.MarkdownTableOutputHandler
java.lang.Object
com.drew.tools.ProcessAllImagesInFolderUtility.FileHandlerBase
com.drew.tools.ProcessAllImagesInFolderUtility.MarkdownTableOutputHandler
- All Implemented Interfaces:
ProcessAllImagesInFolderUtility.FileHandler
- Enclosing class:
- ProcessAllImagesInFolderUtility
static class ProcessAllImagesInFolderUtility.MarkdownTableOutputHandler
extends ProcessAllImagesInFolderUtility.FileHandlerBase
Creates a table describing sample images using Wiki markdown.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,List<ProcessAllImagesInFolderUtility.MarkdownTableOutputHandler.Row>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonExtractionSuccess(File file, Metadata metadata, String relativePath, PrintStream log) Called when extraction onfilePathcompleted without an exception.voidCalled when all files have been processed.private voidwriteOutput(PrintStream stream) Methods inherited from class com.drew.tools.ProcessAllImagesInFolderUtility.FileHandlerBase
getExtension, onBeforeExtraction, onExtractionError, onStartingDirectory, shouldProcess
-
Field Details
-
_extensionEquivalence
-
_rowListByExtension
private final Map<String,List<ProcessAllImagesInFolderUtility.MarkdownTableOutputHandler.Row>> _rowListByExtension
-
-
Constructor Details
-
MarkdownTableOutputHandler
public MarkdownTableOutputHandler()
-
-
Method Details
-
onExtractionSuccess
Description copied from interface:ProcessAllImagesInFolderUtility.FileHandlerCalled when extraction onfilePathcompleted without an exception.- Specified by:
onExtractionSuccessin interfaceProcessAllImagesInFolderUtility.FileHandler- Overrides:
onExtractionSuccessin classProcessAllImagesInFolderUtility.FileHandlerBase
-
onScanCompleted
Description copied from interface:ProcessAllImagesInFolderUtility.FileHandlerCalled when all files have been processed.- Specified by:
onScanCompletedin interfaceProcessAllImagesInFolderUtility.FileHandler- Overrides:
onScanCompletedin classProcessAllImagesInFolderUtility.FileHandlerBase
-
writeOutput
- Throws:
IOException
-