Package | Description |
---|---|
org.openrdf.http.client | |
org.openrdf.query.resultio | |
org.openrdf.repository |
The Repository API: the main API for handling Sesame repositories.
|
org.openrdf.repository.base | |
org.openrdf.repository.contextaware |
A repository wrapper with convenience functions for handling contexts.
|
org.openrdf.repository.http |
A repository that serves as a proxy client for a remote
repository on a Sesame Server.
|
org.openrdf.repository.sail.helpers | |
org.openrdf.repository.sparql |
A repository that serves as a client for a SPARQL endpoint.
|
org.openrdf.repository.util | |
org.openrdf.rio |
General classes and interfaces for RDF parsers and RDF writers.
|
org.openrdf.rio.binary | |
org.openrdf.rio.jsonld | |
org.openrdf.rio.n3 |
Writer for RDF in Notation 3/N3 format.
|
org.openrdf.rio.nquads |
Parser and writer for RDF in N-Quads format.
|
org.openrdf.rio.ntriples |
Parser and writer for RDF in N-Triples format.
|
org.openrdf.rio.rdfjson | |
org.openrdf.rio.rdfxml |
Parser and writer for XML-serialized RDF.
|
org.openrdf.rio.rdfxml.util | |
org.openrdf.rio.trig |
Parser and writer for RDF in TriG format.
|
org.openrdf.rio.trix |
Parser and writer for RDF in
TriX format.
|
org.openrdf.rio.turtle |
Parser and writer for RDF in Turtle format.
|
Modifier and Type | Method and Description |
---|---|
RDFFormat |
SparqlSession.getPreferredRDFFormat()
Gets the preferred
RDFFormat for encoding RDF documents. |
Modifier and Type | Method and Description |
---|---|
void |
SesameSession.addData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SesameSession.removeData(InputStream contents,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SparqlSession.setPreferredRDFFormat(RDFFormat format)
Sets the preferred format for encoding RDF documents.
|
protected void |
SesameSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
SesameSession.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Resource... contexts) |
protected void |
SesameSession.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Protocol.Action action,
Resource... contexts) |
void |
SesameSession.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
boolean preserveNodeIds,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryResultIO.write(GraphQueryResult gqr,
RDFFormat format,
OutputStream out)
Writes a graph query result document in a specific RDF format to an output
stream.
|
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 |
RepositoryConnectionBase.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.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 |
---|---|
RDFFormat |
HTTPRepository.getPreferredRDFFormat()
Indicates the current preferred
RDFFormat . |
Modifier and Type | Method and Description |
---|---|
void |
HTTPRepository.setPreferredRDFFormat(RDFFormat format)
Sets the preferred serialization format for RDF to the supplied
RDFFormat , overriding the SparqlSession 's default
preference. |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
SPARQLUpdateDataBlockParser.getRDFFormat() |
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 | Field and Description |
---|---|
static RDFFormat |
RDFFormat.BINARY
A binary RDF format.
|
static RDFFormat |
RDFFormat.JSONLD
The JSON-LD file format, an
RDF serialization format that supports recording of named graphs.
|
static RDFFormat |
RDFFormat.N3
The N3/Notation3 file
format.
|
static RDFFormat |
RDFFormat.NQUADS
The N-Quads file format, an
RDF serialization format that supports recording of named graphs.
|
static RDFFormat |
RDFFormat.NTRIPLES
The N-Triples file format.
|
static RDFFormat |
RDFFormat.RDFA
The RDFa file format, an
RDF serialization format.
|
static RDFFormat |
RDFFormat.RDFJSON
The RDF/JSON file format, an
RDF serialization format that supports recording of named graphs.
|
static RDFFormat |
RDFFormat.RDFXML
The RDF/XML file
format.
|
static RDFFormat |
RDFFormat.TRIG
The TriG file format, a
Turtle-based RDF serialization format that supports recording of named
graphs.
|
static RDFFormat |
RDFFormat.TRIX
The TriX file format, an
XML-based RDF serialization format that supports recording of named
graphs.
|
static RDFFormat |
RDFFormat.TURTLE
The Turtle file format.
|
Modifier and Type | Method and Description |
---|---|
static RDFFormat |
RDFFormat.forFileName(String fileName)
Deprecated.
Use
Rio.getParserFormatForFileName(String) instead. |
static RDFFormat |
RDFFormat.forFileName(String fileName,
RDFFormat fallback)
Deprecated.
Use
Rio.getParserFormatForFileName(String, RDFFormat)
instead. |
static RDFFormat |
RDFFormat.forMIMEType(String mimeType)
Deprecated.
Use
Rio.getParserFormatForMIMEType(String) instead. |
static RDFFormat |
RDFFormat.forMIMEType(String mimeType,
RDFFormat fallback)
Deprecated.
Use
Rio.getParserFormatForMIMEType(String, RDFFormat)
instead. |
protected RDFFormat |
RDFParserRegistry.getKey(RDFParserFactory factory) |
protected RDFFormat |
RDFWriterRegistry.getKey(RDFWriterFactory factory) |
static RDFFormat |
Rio.getParserFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static RDFFormat |
Rio.getParserFormatForFileName(String fileName,
RDFFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static RDFFormat |
Rio.getParserFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of RDF formats that can be
parsed.
|
static RDFFormat |
Rio.getParserFormatForMIMEType(String mimeType,
RDFFormat fallback)
Tries to match a MIME type against the list of RDF formats that can be
parsed.
|
RDFFormat |
RDFWriter.getRDFFormat()
Gets the RDF format that this RDFWriter uses.
|
RDFFormat |
RDFParser.getRDFFormat()
Gets the RDF format that this parser can parse.
|
RDFFormat |
RDFParserFactory.getRDFFormat()
Returns the RDF format for this factory.
|
RDFFormat |
RDFWriterFactory.getRDFFormat()
Returns the RDF format for this factory.
|
static RDFFormat |
Rio.getWriterFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static RDFFormat |
Rio.getWriterFormatForFileName(String fileName,
RDFFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static RDFFormat |
Rio.getWriterFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of RDF formats that can be
written.
|
static RDFFormat |
Rio.getWriterFormatForMIMEType(String mimeType,
RDFFormat fallback)
Tries to match a MIME type against the list of RDF formats that can be
written.
|
static RDFFormat |
RDFFormat.register(String name,
String mimeType,
String fileExt,
Charset charset)
Deprecated.
Use
ServiceRegistry.add(S) to insert new parsers into
the system. |
static RDFFormat |
RDFFormat.valueOf(String formatName)
Deprecated.
Use MIME types to identify RDFFormats, and use the static
methods in
Rio to find them. |
Modifier and Type | Method and Description |
---|---|
static Collection<RDFFormat> |
RDFFormat.values()
Deprecated.
Use
ServiceRegistry.getKeys() to find all parser
formats. |
Modifier and Type | Method and Description |
---|---|
static RDFParser |
Rio.createParser(RDFFormat format)
Convenience methods for creating RDFParser objects.
|
static RDFParser |
Rio.createParser(RDFFormat format,
ValueFactory valueFactory)
Convenience methods for creating RDFParser objects that use the specified
ValueFactory to create RDF model objects.
|
static RDFWriter |
Rio.createWriter(RDFFormat format,
OutputStream out)
Convenience methods for creating RDFWriter objects.
|
static RDFWriter |
Rio.createWriter(RDFFormat format,
Writer writer)
Convenience methods for creating RDFWriter objects.
|
static RDFFormat |
RDFFormat.forFileName(String fileName,
RDFFormat fallback)
Deprecated.
Use
Rio.getParserFormatForFileName(String, RDFFormat)
instead. |
static RDFFormat |
RDFFormat.forMIMEType(String mimeType,
RDFFormat fallback)
Deprecated.
Use
Rio.getParserFormatForMIMEType(String, RDFFormat)
instead. |
static List<String> |
RDFFormat.getAcceptParams(Iterable<RDFFormat> rdfFormats,
boolean requireContext,
RDFFormat preferredFormat)
Processes the supplied collection of
RDFFormat s and assigns
quality values to each based on whether context must be supported and
whether the format is preferred. |
static RDFFormat |
Rio.getParserFormatForFileName(String fileName,
RDFFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static RDFFormat |
Rio.getParserFormatForMIMEType(String mimeType,
RDFFormat fallback)
Tries to match a MIME type against the list of RDF formats that can be
parsed.
|
static RDFFormat |
Rio.getWriterFormatForFileName(String fileName,
RDFFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static RDFFormat |
Rio.getWriterFormatForMIMEType(String mimeType,
RDFFormat fallback)
Tries to match a MIME type against the list of RDF formats that can be
written.
|
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. |
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)
|
static void |
RDFFormat.register(RDFFormat rdfFormat)
Deprecated.
Use
ServiceRegistry.add(S) to insert new parsers into
the system. |
static void |
Rio.write(Iterable<Statement> model,
OutputStream output,
RDFFormat dataFormat)
Writes the given statements to the given
OutputStream in the given
format. |
static void |
Rio.write(Iterable<Statement> model,
OutputStream output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given statements to the given
OutputStream in the given
format. |
static void |
Rio.write(Iterable<Statement> model,
Writer output,
RDFFormat dataFormat)
Writes the given statements to the given
Writer in the given
format. |
static void |
Rio.write(Iterable<Statement> model,
Writer output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given statements to the given
Writer in the given
format. |
static void |
Rio.write(Statement st,
OutputStream output,
RDFFormat dataFormat)
Writes the given statement to the given
OutputStream in the given
format. |
static void |
Rio.write(Statement st,
OutputStream output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given single statement to the given
OutputStream in the
given format. |
static void |
Rio.write(Statement statement,
Writer output,
RDFFormat dataFormat)
Writes the given single statement to the given
Writer in the given
format. |
static void |
Rio.write(Statement statement,
Writer output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given single statement to the given
Writer in the given
format. |
Modifier and Type | Method and Description |
---|---|
static List<String> |
RDFFormat.getAcceptParams(Iterable<RDFFormat> rdfFormats,
boolean requireContext,
RDFFormat preferredFormat)
Processes the supplied collection of
RDFFormat s and assigns
quality values to each based on whether context must be supported and
whether the format is preferred. |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
BinaryRDFParser.getRDFFormat() |
RDFFormat |
BinaryRDFWriterFactory.getRDFFormat()
Returns
BINARY . |
RDFFormat |
BinaryRDFParserFactory.getRDFFormat()
Returns
BINARY . |
RDFFormat |
BinaryRDFWriter.getRDFFormat() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
JSONLDWriterFactory.getRDFFormat() |
RDFFormat |
JSONLDParser.getRDFFormat() |
RDFFormat |
JSONLDWriter.getRDFFormat() |
RDFFormat |
JSONLDParserFactory.getRDFFormat() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
N3ParserFactory.getRDFFormat()
Returns
N3 . |
RDFFormat |
N3Writer.getRDFFormat() |
RDFFormat |
N3WriterFactory.getRDFFormat()
Returns
N3 . |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
NQuadsWriterFactory.getRDFFormat()
Returns
NQUADS . |
RDFFormat |
NQuadsParser.getRDFFormat() |
RDFFormat |
NQuadsWriter.getRDFFormat() |
RDFFormat |
NQuadsParserFactory.getRDFFormat()
Returns
NQUADS . |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
NTriplesWriter.getRDFFormat() |
RDFFormat |
NTriplesParserFactory.getRDFFormat()
Returns
NTRIPLES . |
RDFFormat |
NTriplesParser.getRDFFormat() |
RDFFormat |
NTriplesWriterFactory.getRDFFormat()
Returns
NTRIPLES . |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
RDFJSONParser.getRDFFormat() |
RDFFormat |
RDFJSONWriterFactory.getRDFFormat() |
RDFFormat |
RDFJSONWriter.getRDFFormat() |
RDFFormat |
RDFJSONParserFactory.getRDFFormat() |
Constructor and Description |
---|
RDFJSONParser(RDFFormat actualFormat)
Creates a parser using the given RDFFormat to self identify.
|
RDFJSONWriter(OutputStream out,
RDFFormat actualFormat) |
RDFJSONWriter(Writer writer,
RDFFormat actualFormat) |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
RDFXMLWriterFactory.getRDFFormat()
Returns
RDFXML . |
RDFFormat |
RDFXMLParserFactory.getRDFFormat()
Returns the RDF format for this factory.
|
RDFFormat |
RDFXMLParser.getRDFFormat() |
RDFFormat |
RDFXMLWriter.getRDFFormat() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
RDFXMLPrettyWriterFactory.getRDFFormat()
Returns
RDFXML . |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
TriGParserFactory.getRDFFormat()
Returns
TRIG . |
RDFFormat |
TriGParser.getRDFFormat() |
RDFFormat |
TriGWriter.getRDFFormat() |
RDFFormat |
TriGWriterFactory.getRDFFormat()
Returns
TRIG . |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
TriXParserFactory.getRDFFormat()
Returns
TRIX . |
RDFFormat |
TriXWriterFactory.getRDFFormat()
Returns
TRIX . |
RDFFormat |
TriXWriter.getRDFFormat() |
RDFFormat |
TriXParser.getRDFFormat() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
TurtleWriterFactory.getRDFFormat()
Returns
TURTLE . |
RDFFormat |
TurtleParserFactory.getRDFFormat()
Returns
TURTLE . |
RDFFormat |
TurtleWriter.getRDFFormat() |
RDFFormat |
TurtleParser.getRDFFormat() |
Copyright © 2001–2015 Aduna. All rights reserved.