Class SinkTriplesToGraph

All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sink<Triple>

public class SinkTriplesToGraph extends Object implements org.apache.jena.atlas.lib.Sink<Triple>
Send triples to a graph. This Sink must be closed after use.
  • Constructor Details

    • SinkTriplesToGraph

      public SinkTriplesToGraph(boolean x, Graph g)
  • Method Details

    • send

      public void send(Triple triple)
      Specified by:
      send in interface org.apache.jena.atlas.lib.Sink<Triple>
    • flush

      public void flush()
      Specified by:
      flush in interface org.apache.jena.atlas.lib.Sink<Triple>
    • close

      public void close()
      Specified by:
      close in interface org.apache.jena.atlas.lib.Closeable