org.openjena.riot.out
Class SinkTripleOutput

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

public class SinkTripleOutput
extends java.lang.Object
implements Sink<com.hp.hpl.jena.graph.Triple>

A class that print triples, N-triples style


Constructor Summary
SinkTripleOutput(java.io.OutputStream outs)
           
SinkTripleOutput(java.io.OutputStream outs, Prologue prologue)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(com.hp.hpl.jena.graph.Triple triple)
           
 void setPrologue(Prologue prologue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinkTripleOutput

public SinkTripleOutput(java.io.OutputStream outs)

SinkTripleOutput

public SinkTripleOutput(java.io.OutputStream outs,
                        Prologue prologue)
Method Detail

setPrologue

public void setPrologue(Prologue prologue)

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


Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP