public final class ConduitWritableByteChannel extends Object implements WritableByteChannel
| Constructor and Description |
|---|
ConduitWritableByteChannel(StreamSinkConduit conduit)
Construct a new instance.
|
public ConduitWritableByteChannel(StreamSinkConduit conduit)
conduit - the conduit to delegate topublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.