org.openjena.riot.lang
Class SinkTriplesToGraph

java.lang.Object
  extended by org.openjena.riot.lang.SinkTriplesToGraph
All Implemented Interfaces:
Closeable, Sink<com.hp.hpl.jena.graph.Triple>

public class SinkTriplesToGraph
extends Object
implements Sink<com.hp.hpl.jena.graph.Triple>

Send triples to a graph. This Sink must be closed after use.


Constructor Summary
SinkTriplesToGraph(com.hp.hpl.jena.graph.Graph g)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(com.hp.hpl.jena.graph.Triple triple)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinkTriplesToGraph

public SinkTriplesToGraph(com.hp.hpl.jena.graph.Graph g)
Method Detail

send

public void send(com.hp.hpl.jena.graph.Triple triple)
Specified by:
send in interface Sink<com.hp.hpl.jena.graph.Triple>

flush

public void flush()
Specified by:
flush in interface Sink<com.hp.hpl.jena.graph.Triple>

close

public void close()
Specified by:
close in interface Closeable


Licenced under the Apache License, Version 2.0