NQuadsParser instead@Deprecated public class NQuadsParser extends RDFParserBase
RDFParser.DatatypeHandling| Constructor and Description |
|---|
NQuadsParser()
Deprecated.
Creates a new NQuadsParser that will use a
ValueFactoryImpl to
create object for resources, bNodes and literals. |
NQuadsParser(ValueFactory valueFactory)
Deprecated.
Creates a new NQuadsParser that will use the supplied
ValueFactory to create RDF model objects.
|
| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat()
Deprecated.
|
void |
parse(InputStream in,
String baseURI)
Deprecated.
Implementation of the parse(InputStream, String) method defined
in the RDFParser interface.
|
void |
parse(Reader reader,
String baseURI)
Deprecated.
Implementation of the parse(Reader, String) method defined in
the RDFParser interface.
|
datatypeHandling, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, getSupportedSettings, preserveBNodeIDs, setDatatypeHandling, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyDatapublic NQuadsParser()
ValueFactoryImpl to
create object for resources, bNodes and literals.public NQuadsParser(ValueFactory valueFactory)
valueFactory - A ValueFactory.public final RDFFormat getRDFFormat()
public void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException
in - The InputStream from which to read the data, must not be
null. The InputStream is supposed to contain 7-bit
US-ASCII characters, as per the N-Triples specification.baseURI - The URI associated with the data in the InputStream, must not be
null.IOException - If an I/O error occurred while data was read from the InputStream.RDFParseException - If the parser has found an unrecoverable parse error.RDFHandlerException - If the configured statement handler encountered an unrecoverable
error.IllegalArgumentException - If the supplied input stream or base URI is null.public void parse(Reader reader, String baseURI) throws IOException, RDFParseException, RDFHandlerException
reader - The Reader from which to read the data, must not be null.baseURI - The URI associated with the data in the Reader, must not be
null.IOException - If an I/O error occurred while data was read from the InputStream.RDFParseException - If the parser has found an unrecoverable parse error.RDFHandlerException - If the configured statement handler encountered an unrecoverable
error.IllegalArgumentException - If the supplied reader or base URI is null.Copyright © 2017 Franz Inc.. All rights reserved.