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 WritableByteChannel
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.