Class ConsoleStreamRDF
java.lang.Object
fr.mines_stetienne.ci.sparql_generate.cli.ConsoleStreamRDF
- All Implemented Interfaces:
org.apache.jena.riot.system.StreamRDF
Outputs Stream RDF as Turtle, one triple per line, to a PrintStream with a
PrefixMapping. The stream is flushed at the end, not closed.
- Author:
- Maxime Lefrançois
-
Constructor Summary
ConstructorsConstructorDescriptionConsoleStreamRDF(OutputStream out, org.apache.jena.shared.PrefixMapping pm) Writes to an output stream through a buffer, in UTF-8.ConsoleStreamRDF(PrintStream out, org.apache.jena.shared.PrefixMapping pm) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.riot.system.StreamRDF
version
-
Constructor Details
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.apache.jena.riot.system.StreamRDF
-
base
- Specified by:
basein interfaceorg.apache.jena.riot.system.StreamRDF
-
prefix
- Specified by:
prefixin interfaceorg.apache.jena.riot.system.StreamRDF
-
triple
public void triple(org.apache.jena.graph.Triple triple) - Specified by:
triplein interfaceorg.apache.jena.riot.system.StreamRDF
-
quad
public void quad(org.apache.jena.sparql.core.Quad quad) - Specified by:
quadin interfaceorg.apache.jena.riot.system.StreamRDF
-
finish
public void finish()- Specified by:
finishin interfaceorg.apache.jena.riot.system.StreamRDF
-