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 of Extractor.ContentExtractor
handling NTriples NTriples format.
Constructor Summary |
NTriplesExtractor()
Default constructor, with no verification of data types and no stop at first error. |
NTriplesExtractor(boolean verifyDataType,
boolean stopAtFirstError)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
public static final ExtractorFactory<NTriplesExtractor> factory
NTriplesExtractor
public NTriplesExtractor(boolean verifyDataType,
boolean stopAtFirstError)
NTriplesExtractor
public NTriplesExtractor()
- Default constructor, with no verification of data types and no stop at first error.
getDescription
public ExtractorDescription getDescription()
- Description copied from interface:
Extractor
- Returns a
ExtractorDescription
of this extractor.
- Specified by:
getDescription
in interface Extractor<InputStream>
- Specified by:
getDescription
in class BaseRDFExtractor
- Returns:
- the object representing the extractor description.
getParser
protected org.openrdf.rio.helpers.RDFParserBase getParser(ExtractionContext extractionContext,
ExtractionResult extractionResult)
- Specified by:
getParser
in class BaseRDFExtractor
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.