Closeable, AutoCloseable, Channel, ReadableByteChannelpublic class ChannelFunctionReadableByteChannel extends Object implements ReadableByteChannel
| Constructor | Description |
|---|---|
ChannelFunctionReadableByteChannel(ReadableByteChannel channel,
ChannelFunction... functions) |
public ChannelFunctionReadableByteChannel(ReadableByteChannel channel, ChannelFunction... functions)
public int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface Channelclose in interface CloseableIOExceptionCopyright © 2018. All rights reserved.