Modifier and Type | Method and Description |
---|---|
void |
RDF4JProtocolSession.addData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RDF4JProtocolSession.removeData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
protected void |
RDF4JProtocolSession.upload(org.apache.http.HttpEntity reqEntity,
String baseURI,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
protected void |
RDF4JProtocolSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
RDF4JProtocolSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Resource... contexts) |
protected void |
RDF4JProtocolSession.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
RDF4JProtocolSession.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
protected void |
SPARQLUpdateTest.loadDataset(String datasetFile) |
protected void |
ComplexSPARQLQueryTest.loadTestData(String dataFile,
Resource... contexts) |
protected void |
SPARQLUpdateDataBlockParser.parseGraph() |
protected Resource |
SPARQLUpdateDataBlockParser.parseImplicitBlank() |
protected Resource |
SPARQLUpdateDataBlockParser.parseNodeID() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from the specified file to a specific contexts in the repository.
|
void |
RepositoryConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.
|
void |
RepositoryConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.
|
void |
RepositoryConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named
contexts.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionWrapper.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
ContextAwareConnection.add(File file,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
protected void |
SailUpdateExecutor.executeLoad(Load load,
UpdateContext uc) |
void |
SailUpdateExecutor.executeUpdate(UpdateExpr updateExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred,
int maxExecutionTime) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
RDFLoader.load(File file,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses RDF data from the specified file to the given RDFHandler.
|
void |
RDFLoader.load(InputStream in,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses RDF data from an InputStream to the RDFHandler.
|
void |
RDFLoader.load(Reader reader,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses RDF data from a Reader to the RDFHandler.
|
void |
RDFLoader.load(URL url,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses the RDF data that can be found at the specified URL to the RDFHandler.
|
Modifier and Type | Method and Description |
---|---|
static void |
Rio.main(String[] args) |
void |
RDFParser.parse(InputStream in,
String baseURI)
Parses the data from the supplied InputStream, using the supplied baseURI to resolve any relative URI references.
|
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
ModelFactory modelFactory,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally to one or more named contexts. |
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally to one or more named contexts. |
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally to one or more named contexts. |
void |
RDFParser.parse(Reader reader,
String baseURI)
Parses the data from the supplied Reader, using the supplied baseURI to resolve any relative URI references.
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
ModelFactory modelFactory,
Resource... contexts)
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryRDFParser.parse(InputStream in,
String baseURI) |
void |
BinaryRDFParser.parse(Reader reader,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
void |
HDTParser.parse(InputStream in,
String baseURI)
Implementation of the parse(InputStream, String) method defined in the RDFParser interface.
|
void |
HDTParser.parse(Reader reader,
String baseURI)
Not supported, since HDT is a binary format.
|
Modifier and Type | Method and Description |
---|---|
protected BNode |
AbstractRDFParser.createBNode()
Deprecated.
|
protected BNode |
AbstractRDFParser.createBNode(String nodeID)
Deprecated.
|
protected Literal |
AbstractRDFParser.createLiteral(String label,
String lang,
IRI datatype)
Creates a
Literal object with the supplied parameters. |
protected Literal |
AbstractRDFParser.createLiteral(String label,
String lang,
IRI datatype,
long lineNo,
long columnNo)
Creates a
Literal object with the supplied parameters, using the lineNo and columnNo to enhance error
messages or exceptions that may be generated during the creation of the literal. |
static Literal |
RDFParserHelper.createLiteral(String label,
String lang,
IRI datatype,
ParserConfig parserConfig,
ParseErrorListener errListener,
ValueFactory valueFactory)
Create a literal using the given parameters, including iterative verification and normalization by any
DatatypeHandler or LanguageHandler implementations that are found in the ParserConfig . |
static Literal |
RDFParserHelper.createLiteral(String label,
String lang,
IRI datatype,
ParserConfig parserConfig,
ParseErrorListener errListener,
ValueFactory valueFactory,
long lineNo,
long columnNo)
Create a literal using the given parameters, including iterative verification and normalization by any
DatatypeHandler or LanguageHandler implementations that are found in the ParserConfig . |
protected Resource |
AbstractRDFParser.createNode()
|
protected Resource |
AbstractRDFParser.createNode(String nodeID)
|
protected Statement |
AbstractRDFParser.createStatement(Resource subj,
IRI pred,
Value obj)
Creates a new
Statement object with the supplied components. |
protected Statement |
AbstractRDFParser.createStatement(Resource subj,
IRI pred,
Value obj,
Resource context)
Creates a new
Statement object with the supplied components. |
protected IRI |
AbstractRDFParser.createURI(String uri)
Creates a
IRI object for the specified URI-string. |
protected String |
AbstractRDFParser.getNamespace(String prefix)
Gets the namespace that is associated with the specified prefix or throws an
RDFParseException . |
protected void |
AbstractRDFParser.reportError(Exception e,
long lineNo,
long columnNo,
RioSetting<Boolean> relevantSetting)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
static void |
RDFParserHelper.reportError(Exception e,
long lineNo,
long columnNo,
RioSetting<Boolean> relevantSetting,
ParserConfig parserConfig,
ParseErrorListener errListener)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
protected void |
AbstractRDFParser.reportError(Exception e,
RioSetting<Boolean> relevantSetting)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
protected void |
AbstractRDFParser.reportError(String msg,
Exception e,
long lineNo,
long columnNo,
RioSetting<Boolean> relevantSetting)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
protected void |
AbstractRDFParser.reportError(String msg,
long lineNo,
long columnNo,
RioSetting<Boolean> relevantSetting)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
static void |
RDFParserHelper.reportError(String msg,
long lineNo,
long columnNo,
RioSetting<Boolean> relevantSetting,
ParserConfig parserConfig,
ParseErrorListener errListener)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
protected void |
AbstractRDFParser.reportError(String msg,
RioSetting<Boolean> relevantSetting)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
static void |
RDFParserHelper.reportError(String msg,
RioSetting<Boolean> relevantSetting,
ParserConfig parserConfig,
ParseErrorListener errListener)
Reports an error with associated line- and column number to the registered ParseErrorListener, if the given
setting has been set to true.
|
protected void |
AbstractRDFParser.reportFatalError(Exception e)
Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException
afterwards.
|
protected void |
AbstractRDFParser.reportFatalError(Exception e,
long lineNo,
long columnNo)
Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and
throws a ParseException wrapped the supplied exception afterwards.
|
static void |
RDFParserHelper.reportFatalError(Exception e,
long lineNo,
long columnNo,
ParseErrorListener errListener)
Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and
throws a ParseException wrapped the supplied exception afterwards.
|
static void |
RDFParserHelper.reportFatalError(Exception e,
ParseErrorListener errListener)
Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException
afterwards.
|
protected void |
AbstractRDFParser.reportFatalError(String msg)
Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException
afterwards.
|
protected void |
AbstractRDFParser.reportFatalError(String message,
Exception e,
long lineNo,
long columnNo)
Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and
throws a ParseException wrapped the supplied exception afterwards.
|
static void |
RDFParserHelper.reportFatalError(String message,
Exception e,
long lineNo,
long columnNo,
ParseErrorListener errListener)
Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and
throws a ParseException wrapped the supplied exception afterwards.
|
protected void |
AbstractRDFParser.reportFatalError(String msg,
long lineNo,
long columnNo)
Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and
throws a ParseException afterwards.
|
static void |
RDFParserHelper.reportFatalError(String msg,
long lineNo,
long columnNo,
ParseErrorListener errListener)
Reports a fatal error with associated line- and column number to the registered ParseErrorListener, if any, and
throws a ParseException afterwards.
|
static void |
RDFParserHelper.reportFatalError(String msg,
ParseErrorListener errListener)
Reports a fatal error to the registered ParseErrorListener, if any, and throws a ParseException
afterwards.
|
protected IRI |
AbstractRDFParser.resolveURI(String uriSpec)
Resolves a URI-string against the base URI and creates a
IRI object for it. |
Modifier and Type | Method and Description |
---|---|
void |
JSONLDParser.parse(InputStream in,
String baseURI) |
void |
JSONLDParser.parse(Reader reader,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
protected IRI |
N3Parser.parsePredicate() |
Modifier and Type | Method and Description |
---|---|
void |
NQuadsParser.parse(InputStream inputStream,
String baseURI) |
void |
NQuadsParser.parse(Reader reader,
String baseURI) |
protected int |
NQuadsParser.parseContext(int c) |
Modifier and Type | Method and Description |
---|---|
protected int |
NTriplesParser.assertLineTerminates(int c)
Verifies that there is only whitespace or comments until the end of the line.
|
protected Literal |
NTriplesParser.createLiteral(String label,
String lang,
String datatype) |
protected IRI |
NTriplesParser.createURI(String uri) |
void |
NTriplesParser.parse(InputStream in,
String baseURI)
Implementation of the parse(InputStream, String) method defined in the RDFParser interface.
|
void |
NTriplesParser.parse(Reader reader,
String baseURI)
Implementation of the parse(Reader, String) method defined in the RDFParser interface.
|
protected int |
NTriplesParser.parseNodeID(int c,
StringBuilder name) |
protected int |
NTriplesParser.parseObject(int c) |
protected int |
NTriplesParser.parsePredicate(int c) |
protected int |
NTriplesParser.parseSubject(int c) |
protected int |
NTriplesParser.parseUriRef(int c,
StringBuilder uriRef) |
protected void |
NTriplesParser.reportError(Exception e,
RioSetting<Boolean> setting) |
protected void |
NTriplesParser.reportError(String msg,
RioSetting<Boolean> setting)
Overrides
AbstractRDFParser.reportError(String, RioSetting) , adding line number information to the error. |
protected void |
NTriplesParser.reportFatalError(Exception e)
Overrides
AbstractRDFParser.reportFatalError(Exception) , adding line number information to the error. |
protected void |
NTriplesParser.reportFatalError(String msg)
Overrides
AbstractRDFParser.reportFatalError(String) , adding line number information to the error. |
protected void |
NTriplesParser.throwEOFException() |
Modifier and Type | Method and Description |
---|---|
protected Literal |
RDFJSONParser.createLiteral(String label,
String language,
IRI datatype,
com.fasterxml.jackson.core.JsonLocation currentLocation)
Creates a literal, using the current value, language, and datatype, and additionally using the given
JsonLocation to provide information about the line and column numbers in the event of a warning, error or
exception being generated by the creation of the literal. |
void |
RDFJSONParser.parse(InputStream inputStream,
String baseUri) |
void |
RDFJSONParser.parse(Reader reader,
String baseUri) |
protected void |
RDFJSONParser.reportError(String msg,
Exception e,
com.fasterxml.jackson.core.JsonLocation location,
RioSetting<Boolean> setting) |
protected void |
RDFJSONParser.reportError(String msg,
com.fasterxml.jackson.core.JsonLocation location,
RioSetting<Boolean> setting) |
protected void |
RDFJSONParser.reportFatalError(String msg,
Exception e,
com.fasterxml.jackson.core.JsonLocation location) |
protected void |
RDFJSONParser.reportFatalError(String msg,
com.fasterxml.jackson.core.JsonLocation location) |
Modifier and Type | Method and Description |
---|---|
protected Literal |
RDFXMLParser.createLiteral(String label,
String lang,
IRI datatype) |
protected Resource |
RDFXMLParser.createNode(String nodeID) |
void |
RDFXMLParser.parse(InputStream in,
String baseURI)
Parses the data from the supplied InputStream, using the supplied baseURI to resolve any relative URI references.
|
void |
RDFXMLParser.parse(Reader reader,
String baseURI)
Parses the data from the supplied Reader, using the supplied baseURI to resolve any relative URI references.
|
protected void |
RDFXMLParser.reportError(Exception e,
RioSetting<Boolean> setting)
Overrides
AbstractRDFParser.reportError(String, RioSetting) , adding line- and column number information
to the error. |
protected void |
RDFXMLParser.reportError(String msg,
RioSetting<Boolean> setting)
Overrides
AbstractRDFParser.reportError(String, RioSetting) , adding line- and column number information
to the error. |
protected void |
RDFXMLParser.reportFatalError(Exception e)
Overrides
AbstractRDFParser.reportFatalError(Exception) , adding line- and column number information to
the error. |
protected void |
RDFXMLParser.reportFatalError(String msg)
Overrides
AbstractRDFParser.reportFatalError(String) , adding line- and column number information to the
error. |
Modifier and Type | Method and Description |
---|---|
protected void |
TriGParser.parseGraph() |
protected void |
TriGParser.parseStatement() |
protected void |
TriGParser.parseTriples() |
protected void |
TriGParser.reportStatement(Resource subj,
IRI pred,
Value obj) |
Modifier and Type | Method and Description |
---|---|
protected Value |
TriGStarParser.parseValue() |
Modifier and Type | Method and Description |
---|---|
protected Literal |
TriXParser.createLiteral(String label,
String lang,
IRI datatype) |
void |
TriXParser.parse(InputStream in,
String baseURI)
Parses the data from the supplied InputStream, using the supplied baseURI to resolve any relative URI references.
|
void |
TriXParser.parse(Reader reader,
String baseURI)
Parses the data from the supplied Reader, using the supplied baseURI to resolve any relative URI references.
|
protected void |
TriXParser.reportError(String msg,
RioSetting<Boolean> setting)
Overrides
AbstractRDFParser.reportError(String, RioSetting) , adding line- and column number information
to the error. |
protected void |
TriXParser.reportFatalError(Exception e)
Overrides
AbstractRDFParser.reportFatalError(Exception) , adding line- and column number information to
the error. |
protected void |
TriXParser.reportFatalError(String msg)
Overrides
AbstractRDFParser.reportFatalError(String) , adding line- and column number information to the
error. |
Modifier and Type | Method and Description |
---|---|
void |
TurtleParser.parse(InputStream in,
String baseURI)
Implementation of the parse(InputStream, String) method defined in the RDFParser interface.
|
void |
TurtleParser.parse(Reader reader,
String baseURI)
Implementation of the parse(Reader, String) method defined in the RDFParser interface.
|
protected void |
TurtleParser.parseBase() |
protected Resource |
TurtleParser.parseCollection()
Parses a collection, e.g.
|
protected void |
TurtleParser.parseDirective(String directive) |
protected Resource |
TurtleParser.parseImplicitBlank()
Parses an implicit blank node.
|
protected String |
TurtleParser.parseLongString(int closingCharacter)
Parses a """long string""".
|
protected Resource |
TurtleParser.parseNodeID()
Parses a blank node ID, e.g.
|
protected Literal |
TurtleParser.parseNumber() |
protected void |
TurtleParser.parseObject()
Parse an object
|
protected void |
TurtleParser.parseObjectList() |
protected IRI |
TurtleParser.parsePredicate() |
protected void |
TurtleParser.parsePredicateObjectList() |
protected void |
TurtleParser.parsePrefixID() |
protected Value |
TurtleParser.parseQNameOrBoolean()
Parses qnames and boolean values, which have equivalent starting characters.
|
protected Literal |
TurtleParser.parseQuotedLiteral()
Parses a quoted string, optionally followed by a language tag or datatype.
|
protected String |
TurtleParser.parseQuotedString()
Parses a quoted string, which is either a "normal string" or a """long string""".
|
protected void |
TurtleParser.parseStatement() |
protected String |
TurtleParser.parseString(int closingCharacter)
Parses a "normal string".
|
protected void |
TurtleParser.parseSubject() |
protected void |
TurtleParser.parseTriples() |
protected IRI |
TurtleParser.parseURI() |
protected Value |
TurtleParser.parseValue()
Parses an RDF value.
|
protected void |
TurtleParser.reportError(String msg,
RioSetting<Boolean> setting)
Overrides
AbstractRDFParser.reportError(String, RioSetting) , adding line number information to the error. |
protected void |
TurtleParser.reportFatalError(Exception e)
Overrides
AbstractRDFParser.reportFatalError(Exception) , adding line number information to the error. |
protected void |
TurtleParser.reportFatalError(String msg)
Overrides
AbstractRDFParser.reportFatalError(String) , adding line number information to the error. |
protected void |
TurtleParser.reportStatement(Resource subj,
IRI pred,
Value obj) |
protected void |
TurtleParser.throwEOFException() |
protected void |
TurtleParser.verifyCharacterOrFail(int codePoint,
String expected)
Verifies that the supplied character code point codePoint is one of the expected characters specified in
expected.
|
Modifier and Type | Method and Description |
---|---|
protected Value |
TurtleStarParser.parseValue() |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.