RiotReader
@Deprecated public class RiotReader extends Object
Constructor and Description |
---|
RiotReader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
chooseBaseIRI()
Deprecated.
|
static String |
chooseBaseIRI(String baseIRI,
String filename)
Deprecated.
|
static Iterator<Quad> |
createIteratorQuads(InputStream input,
Lang lang,
String baseIRI)
Deprecated.
|
static Iterator<Triple> |
createIteratorTriples(InputStream input,
Lang lang,
String baseIRI)
Deprecated.
|
static LangNQuads |
createParserNQuads(InputStream input,
StreamRDF dest)
Deprecated.
Create a parser for NQuads, with default behaviour
|
static LangNQuads |
createParserNQuads(Tokenizer tokenizer,
StreamRDF dest)
Deprecated.
Create a parser for NQuads, with default behaviour
|
static LangNTriples |
createParserNTriples(InputStream input,
StreamRDF dest)
Deprecated.
Create a parser for N-Triples, with default behaviour
|
static LangNTriples |
createParserNTriples(Tokenizer tokenizer,
StreamRDF dest)
Deprecated.
Create a parser for N-Triples, with default behaviour
|
static LangRIOT |
createParserQuads(InputStream input,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a quads (or triples) language
|
static LangRIOT |
createParserQuads(Tokenizer tokenizer,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a quads language
|
static LangRDFJSON |
createParserRdfJson(InputStream input,
StreamRDF dest)
Deprecated.
|
static LangRDFJSON |
createParserRdfJson(Tokenizer tokenizer,
StreamRDF dest)
Deprecated.
Create parsers for RDF/JSON
|
static LangRDFXML |
createParserRDFXML(InputStream input,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for RDF/XML
|
static LangTriG |
createParserTriG(InputStream input,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for TriG, with default behaviour
|
static LangTriG |
createParserTriG(Tokenizer tokenizer,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for TriG, with default behaviour
|
static LangRIOT |
createParserTriples(InputStream input,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a triples language
|
static LangRIOT |
createParserTriples(Tokenizer tokenizer,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for a triples language
|
static LangTurtle |
createParserTurtle(InputStream input,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for Turtle, with default behaviour
|
static LangTurtle |
createParserTurtle(Tokenizer tokenizer,
String baseIRI,
StreamRDF dest)
Deprecated.
Create a parser for Turtle, with default behaviour
|
static void |
parseQuads(InputStream in,
Lang lang,
String baseIRI,
Sink<Quad> sink)
Deprecated.
Parse an InputStream, sending quads to a sink.
|
static void |
parseQuads(InputStream in,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse an InputStream, sending quads to a sink.
|
static void |
parseQuads(String filename,
Lang lang,
String baseIRI,
Sink<Quad> sink)
Deprecated.
Parse a file, sending quads to a sink.
|
static void |
parseQuads(String filename,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse a file, sending quads to a sink.
|
static void |
parseQuads(String filename,
Sink<Quad> sink)
Deprecated.
Parse a file, sending quads to a sink.
|
static void |
parseQuads(String filename,
StreamRDF dest)
Deprecated.
Parse a file, sending quads to a sink.
|
static void |
parseTriples(InputStream in,
Lang lang,
String baseIRI,
Sink<Triple> sink)
Deprecated.
Parse an InputStream, sending triples to a sink.
|
static void |
parseTriples(InputStream in,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse an InputStream, sending triples to a sink.
|
static void |
parseTriples(String filename,
Lang lang,
String baseIRI,
Sink<Triple> sink)
Deprecated.
Parse a file, sending triples to a sink.
|
static void |
parseTriples(String filename,
Lang lang,
String baseIRI,
StreamRDF dest)
Deprecated.
Parse a file, sending triples to a sink.
|
static void |
parseTriples(String filename,
Sink<Triple> sink)
Deprecated.
Parse a file, sending triples to a sink.
|
static void |
parseTriples(String filename,
StreamRDF dest)
Deprecated.
Parse a file, sending triples to a sink.
|
public static void parseTriples(String filename, Sink<Triple> sink)
filename
- sink
- Where to send the triples from the parser.RDFDataMgr.read(com.hp.hpl.jena.rdf.model.Model, java.lang.String)
public static void parseTriples(String filename, Lang lang, String baseIRI, Sink<Triple> sink)
filename
- lang
- Language, or null for "guess from URL" (e.g. file extension)baseIRI
- Base IRI, or null for based on input filenamesink
- Where to send the triples from the parser.RDFDataMgr.read(com.hp.hpl.jena.rdf.model.Model, java.lang.String)
public static void parseTriples(InputStream in, Lang lang, String baseIRI, Sink<Triple> sink)
in
- Source for bytes to parse.lang
- Language.baseIRI
- Base IRI.sink
- Where to send the triples from the parser.RDFDataMgr.read(com.hp.hpl.jena.rdf.model.Model, java.lang.String)
public static void parseQuads(String filename, Sink<Quad> sink)
filename
- sink
- Where to send the quads from the parser.RDFDataMgr.read(com.hp.hpl.jena.rdf.model.Model, java.lang.String)
public static void parseQuads(String filename, Lang lang, String baseIRI, Sink<Quad> sink)
filename
- lang
- Language, or null for "guess from filename" (e.g. extension)baseIRI
- Base IRI, or null for base on input filenamesink
- Where to send the quads from the parser.RDFDataMgr.read(com.hp.hpl.jena.rdf.model.Model, java.lang.String)
public static void parseQuads(InputStream in, Lang lang, String baseIRI, Sink<Quad> sink)
in
- Source for bytes to parse.lang
- Language.org.apache.jena.riot.RiotReaderbaseIRI
- Base IRI.sink
- Where to send the quads from the parser.RDFDataMgr.read(com.hp.hpl.jena.rdf.model.Model, java.lang.String)
public static void parseTriples(String filename, StreamRDF dest)
filename
- dest
- Where to send the triples from the parser.public static void parseTriples(String filename, Lang lang, String baseIRI, StreamRDF dest)
filename
- lang
- Language, or null for "guess from URL" (e.g. file extension)baseIRI
- Base IRI, or null for based on input filenamedest
- Where to send the triples from the parser.public static void parseTriples(InputStream in, Lang lang, String baseIRI, StreamRDF dest)
in
- Source for bytes to parse.lang
- Language.baseIRI
- Base IRI.dest
- Where to send the triples from the parser.public static void parseQuads(String filename, StreamRDF dest)
filename
- dest
- Where to send the quads from the parser.public static void parseQuads(String filename, Lang lang, String baseIRI, StreamRDF dest)
filename
- lang
- Language, or null for "guess from filename" (e.g. extension)baseIRI
- Base IRI, or null for base on input filenamedest
- Where to send the quads from the parser.public static void parseQuads(InputStream in, Lang lang, String baseIRI, StreamRDF dest)
in
- Source for bytes to parse.lang
- Language.baseIRI
- Base IRI.dest
- Where to send the quads from the parser.public static LangRIOT createParserTriples(InputStream input, Lang lang, String baseIRI, StreamRDF dest)
public static LangRIOT createParserTriples(Tokenizer tokenizer, Lang lang, String baseIRI, StreamRDF dest)
public static Iterator<Triple> createIteratorTriples(InputStream input, Lang lang, String baseIRI)
public static LangRIOT createParserQuads(InputStream input, Lang lang, String baseIRI, StreamRDF dest)
public static LangRIOT createParserQuads(Tokenizer tokenizer, Lang lang, String baseIRI, StreamRDF dest)
public static Iterator<Quad> createIteratorQuads(InputStream input, Lang lang, String baseIRI)
public static LangTurtle createParserTurtle(InputStream input, String baseIRI, StreamRDF dest)
public static LangTurtle createParserTurtle(Tokenizer tokenizer, String baseIRI, StreamRDF dest)
public static LangRDFXML createParserRDFXML(InputStream input, String baseIRI, StreamRDF dest)
public static LangRDFJSON createParserRdfJson(Tokenizer tokenizer, StreamRDF dest)
public static LangRDFJSON createParserRdfJson(InputStream input, StreamRDF dest)
public static LangTriG createParserTriG(InputStream input, String baseIRI, StreamRDF dest)
public static LangTriG createParserTriG(Tokenizer tokenizer, String baseIRI, StreamRDF dest)
public static LangNTriples createParserNTriples(InputStream input, StreamRDF dest)
public static LangNTriples createParserNTriples(Tokenizer tokenizer, StreamRDF dest)
public static LangNQuads createParserNQuads(InputStream input, StreamRDF dest)
public static LangNQuads createParserNQuads(Tokenizer tokenizer, StreamRDF dest)
public static String chooseBaseIRI()
Licenced under the Apache License, Version 2.0