Closeable
, AutoCloseable
, Channel
, ReadableByteChannel
public 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 ReadableByteChannel
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Channel
close
in interface Closeable
IOException
Copyright © 2018. All rights reserved.