org.openjena.riot.system
Class SinkExtendTriplesToQuads
java.lang.Object
org.openjena.riot.system.SinkExtendTriplesToQuads
- All Implemented Interfaces:
- Closeable, Sink<com.hp.hpl.jena.graph.Triple>
public class SinkExtendTriplesToQuads
- extends Object
- implements Sink<com.hp.hpl.jena.graph.Triple>
Take a stream of triples and send down a Sink<Quad>
The quad will have Quad.tripleInQuad
in the G field or a specified node..
- See Also:
Quad.tripleInQuad
Method Summary |
void |
close()
|
void |
flush()
|
void |
send(com.hp.hpl.jena.graph.Triple triple)
|
SinkExtendTriplesToQuads
public SinkExtendTriplesToQuads(Sink<Quad> quadSink)
SinkExtendTriplesToQuads
public SinkExtendTriplesToQuads(com.hp.hpl.jena.graph.Node gn,
Sink<Quad> quadSink)
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