org.openjena.riot.lang
Class SinkTriplesToGraph
java.lang.Object
org.openjena.riot.lang.SinkTriplesToGraph
- All Implemented Interfaces:
- Closeable, Sink<Triple>
public class SinkTriplesToGraph
- extends Object
- implements Sink<Triple>
Send triples to a graph.
This Sink must be closed after use.
SinkTriplesToGraph
public SinkTriplesToGraph(Graph g)
send
public void send(Triple triple)
- Specified by:
send
in interface Sink<Triple>
flush
public void flush()
- Specified by:
flush
in interface Sink<Triple>
close
public void close()
- Specified by:
close
in interface Closeable
Licenced under the Apache License, Version 2.0