Modifier and Type | Method and Description |
---|---|
static LangRIOT |
RiotReader.createParser(InputStream input,
Lang lang,
String baseIRI,
StreamRDF dest)
Create a parser
|
static LangRIOT |
RiotReader.createParser(Tokenizer tokenizer,
Lang lang,
String baseIRI,
StreamRDF dest)
Create a parser
|
static LangNQuads |
RiotReader.createParserNQuads(InputStream input,
StreamRDF dest)
Create a parser for NQuads, with default behaviour
|
static LangNQuads |
RiotReader.createParserNQuads(Tokenizer tokenizer,
StreamRDF dest)
Create a parser for NQuads, with default behaviour
|
static LangNTriples |
RiotReader.createParserNTriples(InputStream input,
StreamRDF dest)
Create a parser for N-Triples, with default behaviour
|
static LangNTriples |
RiotReader.createParserNTriples(Tokenizer tokenizer,
StreamRDF dest)
Create a parser for N-Triples, with default behaviour
|
static LangRDFJSON |
RiotReader.createParserRdfJson(InputStream input,
StreamRDF dest) |
static LangRDFJSON |
RiotReader.createParserRdfJson(Tokenizer tokenizer,
StreamRDF dest)
Create parsers for RDF/JSON
|
static LangRDFXML |
RiotReader.createParserRDFXML(InputStream input,
String baseIRI,
StreamRDF dest)
Create a parser for RDF/XML
|
static LangTriG |
RiotReader.createParserTriG(InputStream input,
String baseIRI,
StreamRDF dest)
Create a parser for TriG, with default behaviour
|
static LangTriG |
RiotReader.createParserTriG(Tokenizer tokenizer,
String baseIRI,
StreamRDF dest)
Create a parser for TriG, with default behaviour
|
static LangTurtle |
RiotReader.createParserTurtle(InputStream input,
String baseIRI,
StreamRDF dest)
Create a parser for Turtle, with default behaviour
|
static LangTurtle |
RiotReader.createParserTurtle(Tokenizer tokenizer,
String baseIRI,
StreamRDF dest)
Create a parser for Turtle, with default behaviour
|
static void |
RiotReader.parse(InputStream in,
Lang lang,
StreamRDF dest)
Parse an InputStream, using RDFParserOutput as the destination for the parser output.
|
static void |
RiotReader.parse(InputStream in,
Lang lang,
String baseIRI,
StreamRDF dest)
Parse an InputStream, using RDFParserOutput as the destination for the parser output.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
InputStream in,
String base,
Lang hintLang)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
InputStream in,
String base,
Lang hintLang,
Context context)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri,
Lang hintLang,
Context context)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
String uri,
String base,
Lang hintLang,
Context context)
Read RDF data.
|
static void |
RDFDataMgr.parse(StreamRDF sink,
TypedInputStream in,
String base)
Read RDF data.
|
static void |
RiotReader.parse(String filename,
Lang lang,
StreamRDF dest)
Parse a file, sending output to a StreamRDF sink.
|
static void |
RiotReader.parse(String filename,
Lang lang,
String baseIRI,
StreamRDF dest)
Parse a file, sending output to a StreamRDF sink.
|
static void |
RiotReader.parse(String filename,
StreamRDF dest)
Parse a file, sending output to a StreamRDF sink.
|
void |
ReaderRIOTBase.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRIOT.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
abstract void |
ReaderRIOTBase.read(InputStream in,
String baseURI,
Lang lang,
StreamRDF output,
Context context) |
Modifier and Type | Interface and Description |
---|---|
interface |
StreamRDFCounting |
Modifier and Type | Class and Description |
---|---|
class |
PipedQuadsStream
Implementation of a producer class that sends Quads; must be connected to a
PipedRDFIterator<Quad> . |
class |
PipedRDFStream<T>
Abstract implementation of a producer class that implements
StreamRDF ;
use one of the concrete implementations that match the RDF primitive you are using. |
class |
PipedTriplesStream
Implementation of a producer class that sends Triples; must be connected to a
PipedRDFIterator<Triple> . |
class |
PipedTuplesStream
Implementation of a producer class that sends @{code Tuple
PipedRDFIterator<Tuple<Node> . |
class |
PrintingStreamRDF |
Modifier and Type | Method and Description |
---|---|
static LangRDFXML |
LangRDFXML.create(InputStream in,
String xmlBase,
String filename,
ErrorHandler errorHandler,
StreamRDF sink) |
static LangRDFXML |
LangRDFXML.create(Reader reader,
String xmlBase,
String filename,
ErrorHandler errorHandler,
StreamRDF sink)
Deprecated.
|
static LangRDFXML |
LangRDFXML.create(String xmlBase,
String filename,
ErrorHandler errorHandler,
StreamRDF sink) |
Constructor and Description |
---|
LangNQuads(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
LangNTriples(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
LangRDFJSON(Tokenizer tokenizer,
ParserProfile profile,
StreamRDF dest) |
LangTriG(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
LangTurtle(Tokenizer tokens,
ParserProfile profile,
StreamRDF dest) |
Modifier and Type | Class and Description |
---|---|
class |
BatchedStreamRDF
Batch a stream into triples and/or quads.
|
Modifier and Type | Class and Description |
---|---|
class |
InferenceProcessorStreamRDF
Receive triples and quads (incoming because this is a StreamRDF);
allow RDFS; output to place provided.
|
Modifier and Type | Method and Description |
---|---|
static StreamRDF |
InfFactory.inf(StreamRDF data,
InferenceSetupRDFS setup) |
static StreamRDF |
InfFactory.inf(StreamRDF data,
Model vocab) |
Modifier and Type | Method and Description |
---|---|
static StreamRDF |
InfFactory.inf(StreamRDF data,
InferenceSetupRDFS setup) |
static StreamRDF |
InfFactory.inf(StreamRDF data,
Model vocab) |
Constructor and Description |
---|
InferenceProcessorStreamRDF(StreamRDF output,
InferenceSetupRDFS rdfsSetup) |
Modifier and Type | Class and Description |
---|---|
class |
StreamRDFBase |
class |
StreamRDFWrapper
A wrapper around another
StreamRDF |
Modifier and Type | Method and Description |
---|---|
static StreamRDF |
StreamRDFLib.dataset(DatasetGraph dataset) |
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(Node graphNode,
StreamRDF base)
Convert any triples seen to a quads, adding the specified graph node
|
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(StreamRDF base)
Convert any triples seen to a quads, adding a graph node of
Quad.tripleInQuad |
static StreamRDF |
StreamRDFLib.graph(Graph graph) |
static StreamRDF |
StreamRDFLib.sinkNull()
Send everything to nowhere ...
|
static StreamRDF |
StreamRDFLib.sinkQuads(Sink<Quad> sink)
Output to a sink; prefix and base handled only within the parser.
|
static StreamRDF |
StreamRDFLib.sinkTriples(Sink<Triple> sink)
Output to a sink; prefix and base handled only within the parser.
|
static StreamRDF |
StreamRDFLib.writer(AWriter out) |
static StreamRDF |
StreamRDFLib.writer(OutputStream out) |
static StreamRDF |
StreamRDFLib.writer(Writer out) |
Modifier and Type | Method and Description |
---|---|
static StreamRDFCounting |
StreamRDFLib.count(StreamRDF other) |
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(Node graphNode,
StreamRDF base)
Convert any triples seen to a quads, adding the specified graph node
|
static StreamRDF |
StreamRDFLib.extendTriplesToQuads(StreamRDF base)
Convert any triples seen to a quads, adding a graph node of
Quad.tripleInQuad |
static void |
StreamRDFLib.quadsToStream(StreamRDF dest,
Iterator<Quad> iter)
Set quads to a StreamRDF - does not call .start/.finish
|
static void |
StreamRDFLib.triplesToStream(StreamRDF dest,
Iterator<Triple> iter)
Set triples to a StreamRDF - does not call .start/.finish
|
Constructor and Description |
---|
StreamRDFWrapper(StreamRDF sink)
Create a new wrapper
|
Modifier and Type | Class and Description |
---|---|
class |
WriterStreamRDFBase
Core engine for output of triples / quads that is streaming.
|
class |
WriterStreamRDFBlocks
An output of triples / quads that print batches of same subject / same graph, same subject.
|
class |
WriterStreamRDFFlat
An output of triples / quads that is streaming.
|
class |
WriterStreamRDFTuples
An output of triples / quads that is streaming.
|
Modifier and Type | Method and Description |
---|---|
static LangNQuads |
RiotReader.createParserNQuads(InputStream input,
StreamRDF dest)
Deprecated.
Create a parser for NQuads, with default behaviour
|
static LangNQuads |
RiotReader.createParserNQuads(Tokenizer tokenizer,
StreamRDF dest)
Deprecated.
Create a parser for NQuads, with default behaviour
|
static LangNTriples |
RiotReader.createParserNTriples(InputStream input,
StreamRDF dest)
Deprecated.
Create a parser for N-Triples, with default behaviour
|
static LangNTriples |
RiotReader.createParserNTriples(Tokenizer tokenizer,
StreamRDF dest)
Deprecated.
Create a parser for N-Triples, with default behaviour
|
static LangRIOT |
RiotReader.createParserQuads(InputStream input,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a quads (or triples) language
|
static LangRIOT |
RiotReader.createParserQuads(Tokenizer tokenizer,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a quads language
|
static LangRDFJSON |
RiotReader.createParserRdfJson(InputStream input,
StreamRDF dest)
Deprecated.
|
static LangRDFJSON |
RiotReader.createParserRdfJson(Tokenizer tokenizer,
StreamRDF dest)
Deprecated.
Create parsers for RDF/JSON
|
static LangRDFXML |
RiotReader.createParserRDFXML(InputStream input,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for RDF/XML
|
static LangTriG |
RiotReader.createParserTriG(InputStream input,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for TriG, with default behaviour
|
static LangTriG |
RiotReader.createParserTriG(Tokenizer tokenizer,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for TriG, with default behaviour
|
static LangRIOT |
RiotReader.createParserTriples(InputStream input,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a triples language
|
static LangRIOT |
RiotReader.createParserTriples(Tokenizer tokenizer,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a triples language
|
static LangTurtle |
RiotReader.createParserTurtle(InputStream input,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for Turtle, with default behaviour
|
static LangTurtle |
RiotReader.createParserTurtle(Tokenizer tokenizer,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for Turtle, with default behaviour
|
static void |
RiotReader.parseQuads(InputStream in,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse an InputStream, sending quads to a sink.
|
static void |
RiotReader.parseQuads(String filename,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse a file, sending quads to a sink.
|
static void |
RiotReader.parseQuads(String filename,
StreamRDF dest)
Deprecated.
Parse a file, sending quads to a sink.
|
static void |
RiotReader.parseTriples(InputStream in,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse an InputStream, sending triples to a sink.
|
static void |
RiotReader.parseTriples(String filename,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse a file, sending triples to a sink.
|
static void |
RiotReader.parseTriples(String filename,
StreamRDF dest)
Deprecated.
Parse a file, sending triples to a sink.
|
Licenced under the Apache License, Version 2.0