public class TurtleExtractor extends BaseRDFExtractor
Extractor.ContentExtractor able to perform the
extraction on Turtle documents.Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor| Modifier and Type | Field and Description |
|---|---|
static ExtractorFactory<TurtleExtractor> |
factory |
| Constructor and Description |
|---|
TurtleExtractor()
Default constructor, with no verification of data types and no stop at first error.
|
TurtleExtractor(boolean verifyDataType,
boolean stopAtFirstError)
Constructor, allows to specify the validation and error handling policies.
|
| Modifier and Type | Method and Description |
|---|---|
ExtractorDescription |
getDescription()
Returns a
ExtractorDescription of this extractor. |
protected org.openrdf.rio.RDFParser |
getParser(ExtractionContext extractionContext,
ExtractionResult extractionResult) |
isStopAtFirstError, isVerifyDataType, run, setStopAtFirstError, setVerifyDataTypepublic static final ExtractorFactory<TurtleExtractor> factory
public TurtleExtractor(boolean verifyDataType,
boolean stopAtFirstError)
verifyDataType - if true the data types will be verified,
if false will be ignored.stopAtFirstError - if true the parser will stop at first parsing error,
if false will ignore non blocking errors.public TurtleExtractor()
public ExtractorDescription getDescription()
ExtractorExtractorDescription of this extractor.getDescription in interface Extractor<InputStream>getDescription in class BaseRDFExtractorprotected org.openrdf.rio.RDFParser getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
getParser in class BaseRDFExtractorCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.