public class HDTParser extends AbstractRDFParser
+---------------------+ | Global | | Header | | Dictionary (Shared) | | Dictionary (S) | | Dictionary (P) | | Dictionary (O) | | Triples | +---------------------+
RDFParser.DatatypeHandlingrdfHandler, valueFactory| Constructor and Description |
|---|
HDTParser()
Creates a new HDTParser that will use a
SimpleValueFactory to create RDF model objects. |
HDTParser(org.eclipse.rdf4j.model.ValueFactory valueFactory)
Creates a new HDTParser that will use the supplied ValueFactory to create RDF model objects.
|
| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat() |
Collection<RioSetting<?>> |
getSupportedSettings() |
void |
parse(InputStream in,
String baseURI) |
void |
parse(Reader reader,
String baseURI)
Not supported, since HDT is a binary format.
|
clear, clearBNodeIDMap, createBNode, createBNode, createLiteral, createLiteral, createNode, createNode, createStatement, createStatement, createURI, datatypeHandling, getNamespace, getParseErrorListener, getParseLocationListener, getParserConfig, getRDFHandler, initializeNamespaceTableFromConfiguration, preserveBNodeIDs, reportError, reportError, reportError, reportError, reportError, reportFatalError, reportFatalError, reportFatalError, reportFatalError, reportFatalError, reportLocation, reportWarning, reportWarning, resolveURI, set, setBaseURI, setBaseURI, setDatatypeHandling, setNamespace, setParseErrorListener, setParseLocationListener, setParserConfig, setPreserveBNodeIDs, setRDFHandler, setStopAtFirstError, setValueFactory, setVerifyData, stopAtFirstError, verifyDatapublic HDTParser()
SimpleValueFactory to create RDF model objects.public HDTParser(org.eclipse.rdf4j.model.ValueFactory valueFactory)
valueFactory - A ValueFactory.public RDFFormat getRDFFormat()
public Collection<RioSetting<?>> getSupportedSettings()
getSupportedSettings in interface RDFParsergetSupportedSettings in class AbstractRDFParserpublic void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException
public void parse(Reader reader, String baseURI) throws IOException, RDFParseException, RDFHandlerException
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.