java.lang.Object
org.apache.jena.riot.writer.WriterStreamRDFPlain
- All Implemented Interfaces:
StreamRDF
- Direct Known Subclasses:
PrintingStreamRDF
An output of triples / quads that is streaming. It writes N-triples/N-quads.
-
Constructor Summary
ConstructorDescriptionWriterStreamRDFPlain
(org.apache.jena.atlas.io.AWriter w) Output tuples, using UTF8 output SeeStreamRDFLib.writer(java.io.OutputStream)
for ways to create a AWriter object.WriterStreamRDFPlain
(org.apache.jena.atlas.io.AWriter w, org.apache.jena.atlas.lib.CharSpace charSpace) Output tuples, choosing ASCII or UTF8.WriterStreamRDFPlain
(org.apache.jena.atlas.io.AWriter w, NodeFormatter nodeFmt) Output tuples using a specificNodeFormatter
. -
Method Summary
-
Constructor Details
-
WriterStreamRDFPlain
public WriterStreamRDFPlain(org.apache.jena.atlas.io.AWriter w) Output tuples, using UTF8 output SeeStreamRDFLib.writer(java.io.OutputStream)
for ways to create a AWriter object. -
WriterStreamRDFPlain
public WriterStreamRDFPlain(org.apache.jena.atlas.io.AWriter w, org.apache.jena.atlas.lib.CharSpace charSpace) Output tuples, choosing ASCII or UTF8. SeeStreamRDFLib.writer(java.io.OutputStream)
for ways to create a AWriter object. -
WriterStreamRDFPlain
Output tuples using a specificNodeFormatter
.
-
-
Method Details
-
start
public void start()Description copied from interface:StreamRDF
Start processing -
finish
public void finish()Description copied from interface:StreamRDF
Finish processing -
triple
public void triple(org.apache.jena.graph.Triple triple) Description copied from interface:StreamRDF
Triple emitted -
quad
Description copied from interface:StreamRDF
Quad emitted -
base
Description copied from interface:StreamRDF
base declaration seen -
prefix
Description copied from interface:StreamRDF
prefix declaration seen
-