org.openjena.riot.out
Class SinkTripleOutput
java.lang.Object
org.openjena.riot.out.SinkTripleOutput
- All Implemented Interfaces:
- Closeable, Sink<com.hp.hpl.jena.graph.Triple>
public class SinkTripleOutput
- extends Object
- implements Sink<com.hp.hpl.jena.graph.Triple>
A class that print triples, N-triples style
SinkTripleOutput
public SinkTripleOutput(OutputStream outs)
SinkTripleOutput
public SinkTripleOutput(OutputStream outs,
Prologue prologue,
NodeToLabel labels)
setPrologue
public void setPrologue(Prologue prologue)
setLabelPolicy
public void setLabelPolicy(NodeToLabel labels)
flush
public void flush()
- Specified by:
flush
in interface Sink<com.hp.hpl.jena.graph.Triple>
send
public void send(com.hp.hpl.jena.graph.Triple triple)
- Specified by:
send
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