java.lang.Object
org.apache.jena.riot.lang.SinkTriplesToGraph
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable
,org.apache.jena.atlas.lib.Sink<org.apache.jena.graph.Triple>
public class SinkTriplesToGraph
extends Object
implements org.apache.jena.atlas.lib.Sink<org.apache.jena.graph.Triple>
Send triples to a graph.
This Sink must be closed after use.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SinkTriplesToGraph
public SinkTriplesToGraph(boolean x, org.apache.jena.graph.Graph g)
-
-
Method Details
-
send
public void send(org.apache.jena.graph.Triple triple) - Specified by:
send
in interfaceorg.apache.jena.atlas.lib.Sink<org.apache.jena.graph.Triple>
-
flush
public void flush()- Specified by:
flush
in interfaceorg.apache.jena.atlas.lib.Sink<org.apache.jena.graph.Triple>
-
close
public void close()- Specified by:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
-