Constructor and Description |
---|
ExtractorDocumentation() |
Modifier and Type | Method and Description |
---|---|
void |
printError(String msg)
Print an error message.
|
void |
printExampleInput(String extractorName,
ExtractorRegistry registry)
Prints an example of input for the provided extractor.
|
void |
printExampleOutput(String extractorName,
ExtractorRegistry registry)
Prints an output example for the given extractor.
|
void |
printExtractorList(ExtractorRegistry registry)
Prints the list of all the available extractors.
|
void |
printReport(ExtractorRegistry registry)
Prints a complete report on all the available extractors.
|
void |
run() |
public void printError(String msg)
msg
- the error message to be printedpublic void printExtractorList(ExtractorRegistry registry)
registry
- the ExtractorRegistry
containing all extractorspublic void printExampleInput(String extractorName, ExtractorRegistry registry) throws IOException
extractorName
- the name of the extractorregistry
- the ExtractorRegistry
containing all extractorsIOException
- raised if no extractor is found with that namepublic void printExampleOutput(String extractorName, ExtractorRegistry registry) throws IOException, ExtractionException
extractorName
- the extractor nameregistry
- the ExtractorRegistry
containing all extractorsIOException
- raised if no extractor is found with that nameExtractionException
- if there is an error duing extractionpublic void printReport(ExtractorRegistry registry) throws IOException, ExtractionException
registry
- the ExtractorRegistry
containing all extractorsIOException
- raised if no extractor is found with that nameExtractionException
- if there is an error duing extractionCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.