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 Details

    • WriterStreamRDFBlocks

      public WriterStreamRDFBlocks(OutputStream output, Context context)
    • WriterStreamRDFBlocks

      public WriterStreamRDFBlocks(Writer output, Context context)
    • WriterStreamRDFBlocks

      public WriterStreamRDFBlocks(org.apache.jena.atlas.io.IndentedWriter output, Context context)