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
StreamRDF stream = StreamRDFLib.print(System.out);
-
Constructor Summary
ConstructorsConstructorDescriptionPrintingStreamRDF(OutputStream out, PrefixMap prefixes) Print, with prefixes already loaded (not printed).PrintingStreamRDF(org.apache.jena.atlas.io.AWriter out) PrintingStreamRDF(org.apache.jena.atlas.io.AWriter out, PrefixMap prefixes) Print, with prefixes already loaded (not printed). -
Method Summary
Methods inherited from class org.apache.jena.riot.writer.WriterStreamRDFPlain
finish, start
-
Constructor Details
-
PrintingStreamRDF
-
PrintingStreamRDF
public PrintingStreamRDF(org.apache.jena.atlas.io.AWriter out) -
PrintingStreamRDF
Print, with prefixes already loaded (not printed). -
PrintingStreamRDF
Print, with prefixes already loaded (not printed).
-
-
Method Details
-
base
Description copied from interface:StreamRDFbase declaration seen- Specified by:
basein interfaceStreamRDF- Overrides:
basein classWriterStreamRDFPlain
-
version
Description copied from interface:StreamRDFversion declaration seen- Specified by:
versionin interfaceStreamRDF- Overrides:
versionin 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()
-