java.lang.Object
org.apache.jena.sparql.system.SinkQuadBracedOutput
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable
,org.apache.jena.atlas.lib.Sink<Quad>
- Direct Known Subclasses:
UpdateDataWriter
public class SinkQuadBracedOutput
extends Object
implements org.apache.jena.atlas.lib.Sink<Quad>, org.apache.jena.atlas.lib.Closeable
A class that print quads, SPARQL style (maybe good for Trig too?)
-
Constructor Summary
ConstructorDescriptionSinkQuadBracedOutput
(OutputStream out, SerializationContext sCxt) SinkQuadBracedOutput
(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) -
Method Summary
-
Constructor Details
-
SinkQuadBracedOutput
-
SinkQuadBracedOutput
-
SinkQuadBracedOutput
-
-
Method Details
-
open
public void open() -
send
- Specified by:
send
in interfaceorg.apache.jena.atlas.lib.Sink<Quad>
-
send
public void send(org.apache.jena.graph.Node graphName, org.apache.jena.graph.Triple triple) -
flush
public void flush()- Specified by:
flush
in interfaceorg.apache.jena.atlas.lib.Sink<Quad>
-
close
public void close()- Specified by:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
-