
public final class ConduitWritableByteChannel
extends java.lang.Object
implements java.nio.channels.WritableByteChannel
| Constructor and Description |
|---|
ConduitWritableByteChannel(StreamSinkConduit conduit)
Construct a new instance.
|
public ConduitWritableByteChannel(StreamSinkConduit conduit)
conduit - the conduit to delegate topublic int write(java.nio.ByteBuffer src)
throws java.io.IOException
write in interface java.nio.channels.WritableByteChanneljava.io.IOExceptionpublic boolean isOpen()
isOpen in interface java.nio.channels.Channelpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channeljava.io.IOExceptionCopyright © 2014 JBoss, a division of Red Hat, Inc.