org.openjena.atlas.io
Class BufferingWriter.SinkChannel

java.lang.Object
  extended by org.openjena.atlas.io.BufferingWriter.SinkChannel
All Implemented Interfaces:
Closeable, Sink<ByteBuffer>
Enclosing class:
BufferingWriter

public static class BufferingWriter.SinkChannel
extends Object
implements Sink<ByteBuffer>


Constructor Summary
BufferingWriter.SinkChannel(WritableByteChannel out)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(ByteBuffer bb)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferingWriter.SinkChannel

public BufferingWriter.SinkChannel(WritableByteChannel out)
Method Detail

send

public void send(ByteBuffer bb)
Specified by:
send in interface Sink<ByteBuffer>

close

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

flush

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


Licenced under the Apache License, Version 2.0