public class OpenIEExtractor extends Object implements Extractor.TagSoupDOMExtractor
Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor| Constructor and Description |
|---|
OpenIEExtractor()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
ExtractorDescription |
getDescription()
Returns a
ExtractorDescription of this extractor. |
void |
run(ExtractionParameters extractionParameters,
ExtractionContext context,
Document in,
ExtractionResult out)
Executes the extractor.
|
public ExtractorDescription getDescription()
ExtractorExtractorDescription of this extractor.getDescription in interface Extractor<Document>Extractor.getDescription()public void run(ExtractionParameters extractionParameters, ExtractionContext context, Document in, ExtractionResult out) throws IOException, ExtractionException
Extractorrun in interface Extractor<Document>extractionParameters - the parameters to be applied during the extraction.context - The document context.in - The extractor input data.out - the collector for the extracted data.IOException - On error while reading from the input stream.ExtractionException - On other error, such as parse errors.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.