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
-
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)
-
-
Method Details
-
base
Description copied from interface:StreamRDF
base declaration seen- Specified by:
base
in interfaceStreamRDF
- Overrides:
base
in classWriterStreamRDFPlain
-
prefix
Description copied from interface:StreamRDF
prefix declaration seen- Specified by:
prefix
in interfaceStreamRDF
- Overrides:
prefix
in classWriterStreamRDFPlain
-
triple
public void triple(org.apache.jena.graph.Triple triple) Description copied from interface:StreamRDF
Triple emitted- Specified by:
triple
in interfaceStreamRDF
- Overrides:
triple
in classWriterStreamRDFPlain
-
quad
Description copied from interface:StreamRDF
Quad emitted- Specified by:
quad
in interfaceStreamRDF
- Overrides:
quad
in classWriterStreamRDFPlain
-
flush
public void flush()
-