Package org.apache.any23.extractor.rdf
Class NTriplesExtractor
- java.lang.Object
-
- org.apache.any23.extractor.rdf.BaseRDFExtractor
-
- org.apache.any23.extractor.rdf.NTriplesExtractor
-
- All Implemented Interfaces:
Extractor<InputStream>
,Extractor.ContentExtractor
public class NTriplesExtractor extends BaseRDFExtractor
Concrete implementation ofExtractor.ContentExtractor
handling NTriples NTriples format.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.any23.extractor.Extractor
Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor
-
-
Constructor Summary
Constructors Constructor Description NTriplesExtractor()
Default constructor, with no verification of data types and no stop at first error.NTriplesExtractor(boolean verifyDataType, boolean stopAtFirstError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtractorDescription
getDescription()
Returns aExtractorDescription
of this extractor.protected org.eclipse.rdf4j.rio.RDFParser
getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
-
Methods inherited from class org.apache.any23.extractor.rdf.BaseRDFExtractor
isStopAtFirstError, isVerifyDataType, run, setStopAtFirstError, setVerifyDataType
-
-
-
-
Method Detail
-
getDescription
public ExtractorDescription getDescription()
Description copied from interface:Extractor
Returns aExtractorDescription
of this extractor.- Returns:
- the object representing the extractor description.
-
getParser
protected org.eclipse.rdf4j.rio.RDFParser getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
- Specified by:
getParser
in classBaseRDFExtractor
-
-