This project has retired. For details please refer to its Attic page.
NQuadsExtractor (Apache Any23 :: Core 0.7.0-incubating-SNAPSHOT API)

org.apache.any23.extractor.rdf
Class NQuadsExtractor

java.lang.Object
  extended by org.apache.any23.extractor.rdf.BaseRDFExtractor
      extended by org.apache.any23.extractor.rdf.NQuadsExtractor
All Implemented Interfaces:
Extractor<InputStream>, Extractor.ContentExtractor

public class NQuadsExtractor
extends BaseRDFExtractor

Concrete implementation of Extractor.ContentExtractor handling N-Quads format.

Author:
Michele Mostarda (mostarda@fbk.eu)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.any23.extractor.Extractor
Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor
 
Field Summary
static ExtractorFactory<NQuadsExtractor> factory
           
 
Constructor Summary
NQuadsExtractor()
           
NQuadsExtractor(boolean verifyDataType, boolean stopAtFirstError)
           
 
Method Summary
 ExtractorDescription getDescription()
          Returns a ExtractorDescription of this extractor.
protected  org.openrdf.rio.helpers.RDFParserBase getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
           
 
Methods inherited from class org.apache.any23.extractor.rdf.BaseRDFExtractor
isStopAtFirstError, isVerifyDataType, run, setStopAtFirstError, setVerifyDataType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

public static final ExtractorFactory<NQuadsExtractor> factory
Constructor Detail

NQuadsExtractor

public NQuadsExtractor(boolean verifyDataType,
                       boolean stopAtFirstError)

NQuadsExtractor

public NQuadsExtractor()
Method Detail

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.