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 ReadableByteChannel
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.