public final class ConduitReadableByteChannel extends Object implements ReadableByteChannel
| Constructor and Description |
|---|
ConduitReadableByteChannel(StreamSourceConduit conduit)
Construct a new instance.
|
public ConduitReadableByteChannel(StreamSourceConduit conduit)
conduit - the conduit to delegate topublic int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.