T- the type of the
Extractorto be created by this factory.
public interface ExtractorFactory<T extends Extractor<?>> extends ExtractorDescription
|Modifier and Type||Method and Description|
Creates an extractor instance.
An example input file for the extractor, to be used in auto-generated documentation.
Supports wildcards, e.g.
"*/*"for blind extractors that merely call a web service.
Collectionof supported mimetypes.
Extractor.BlindExtractor, this is an arbitrary IRI. For extractors that require content, it is the name of a file, relative to the factory's class file's location, it will be opened using factory.getClass().getResourceAsStream(filename). The example should be a short file that produces characteristic output if sent through the extractor. The file will be read as UTF-8, so it should either use that encoding or avoid characters outside of the US-ASCII range.
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.