org.apache.jena.atlas.lib
Class SinkPrint<T>

java.lang.Object
  extended by org.apache.jena.atlas.lib.SinkPrint<T>
All Implemented Interfaces:
Closeable, Sink<T>

public class SinkPrint<T>
extends Object
implements Sink<T>


Constructor Summary
SinkPrint()
           
SinkPrint(PrintStream out)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(T item)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinkPrint

public SinkPrint()

SinkPrint

public SinkPrint(PrintStream out)
Method Detail

send

public void send(T item)
Specified by:
send in interface Sink<T>

flush

public void flush()
Specified by:
flush in interface Sink<T>

close

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


Licenced under the Apache License, Version 2.0