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)
public void printExampleInput(String extractorName, ExtractorRegistry registry) throws IOException
extractorName
- the name of the extractorregistry
- IOException
- raised if no extractor is found with that namepublic void printExampleOutput(String extractorName, ExtractorRegistry registry) throws IOException, ExtractionException
extractorName
- the extractor nameregistry
- IOException
- raised if no extractor is found with that nameExtractionException
public void printReport(ExtractorRegistry registry) throws IOException, ExtractionException
IOException
ExtractionException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.