java.lang.Object
org.apache.jena.riot.writer.WriterStreamRDFPlain
org.apache.jena.riot.system.PrintingStreamRDF
- All Implemented Interfaces:
StreamRDF
A StreamRDF which displays the items sent to the stream.
It is primarily for development purposes.
The output is not a legal syntax. Do not consider this format to be stable.
It is not optimized for throughput and it flushes every line.
Consider using WriterStreamRDFFlat for performance.
Use via
StreamRDFLib.print(System.out);
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.riot.writer.WriterStreamRDFPlain
finish, start, version
-
Constructor Details
-
PrintingStreamRDF
-
PrintingStreamRDF
public PrintingStreamRDF(org.apache.jena.atlas.io.AWriter out)
-
-
Method Details
-
base
Description copied from interface:StreamRDFbase declaration seen- Specified by:
basein interfaceStreamRDF- Overrides:
basein classWriterStreamRDFPlain
-
prefix
Description copied from interface:StreamRDFprefix declaration seen- Specified by:
prefixin interfaceStreamRDF- Overrides:
prefixin classWriterStreamRDFPlain
-
triple
public void triple(org.apache.jena.graph.Triple triple) Description copied from interface:StreamRDFTriple emitted- Specified by:
triplein interfaceStreamRDF- Overrides:
triplein classWriterStreamRDFPlain
-
quad
Description copied from interface:StreamRDFQuad emitted- Specified by:
quadin interfaceStreamRDF- Overrides:
quadin classWriterStreamRDFPlain
-
flush
public void flush()
-