java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.Channel, java.nio.channels.ReadableByteChannelpublic class ChannelFunctionReadableByteChannel
extends java.lang.Object
implements java.nio.channels.ReadableByteChannel
| Constructor | Description |
|---|---|
ChannelFunctionReadableByteChannel(java.nio.channels.ReadableByteChannel channel,
ChannelFunction... functions) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
boolean |
isOpen() |
|
int |
read(java.nio.ByteBuffer dst) |
public ChannelFunctionReadableByteChannel(java.nio.channels.ReadableByteChannel channel,
ChannelFunction... functions)
public int read(java.nio.ByteBuffer dst)
throws java.io.IOException
read in interface java.nio.channels.ReadableByteChanneljava.io.IOExceptionpublic boolean isOpen()
isOpen in interface java.nio.channels.Channelpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channelclose in interface java.io.Closeablejava.io.IOExceptionCopyright © 2018. All rights reserved.