* @throws ExtractionException
*/
public void printReport() throws IOException, ExtractionException {
for (String extractorName : ExtractorRegistry.getInstance().getAllNames()) {
ExtractorFactory<?> factory = ExtractorRegistry.getInstance().getFactory(extractorName);
ExampleInputOutput example = new ExampleInputOutput(factory);
System.out.println("Extractor: " + extractorName);
System.out.println("\ttype: " + getType(factory));
System.out.println();
final String exampleInput = example.getExampleInput();
if(exampleInput == null) {
System.out.println("(No Example Available)");
} else {
System.out.println("-------- Example Input --------");
System.out.println(exampleInput);
System.out.println("-------- Example Output --------");
String output = example.getExampleOutput();
System.out.println(output == null || output.trim().length() == 0 ? "(No Output Generated)" : output);
}
System.out.println("================================");
System.out.println();
}