Package org.apache.jena.riot.writer
Class WriterStreamRDFBlocks
- java.lang.Object
-
- org.apache.jena.riot.writer.WriterStreamRDFBase
-
- org.apache.jena.riot.writer.WriterStreamRDFBlocks
-
- All Implemented Interfaces:
StreamRDF
public class WriterStreamRDFBlocks extends WriterStreamRDFBase
An output of triples / quads that print batches of same subject / same graph, same subject. It writes something that is easier to read than N-triples, N-quads but it's not full pretty printing which usually requires analysing the data before any output. If fed quads and triples, the output is valid TriG. If fed only triples, the output is valid Turtle.
-
-
Constructor Summary
Constructors Constructor Description WriterStreamRDFBlocks(java.io.OutputStream output, Context context)
WriterStreamRDFBlocks(java.io.Writer output, Context context)
WriterStreamRDFBlocks(org.apache.jena.atlas.io.IndentedWriter output, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prefixSetup(java.lang.String prefix, java.lang.String iri)
-
-
-
Constructor Detail
-
WriterStreamRDFBlocks
public WriterStreamRDFBlocks(java.io.OutputStream output, Context context)
-
WriterStreamRDFBlocks
public WriterStreamRDFBlocks(java.io.Writer output, Context context)
-
WriterStreamRDFBlocks
public WriterStreamRDFBlocks(org.apache.jena.atlas.io.IndentedWriter output, Context context)
-
-