public class ForwardingReadableByteChannel
extends java.lang.Object
implements java.nio.channels.ReadableByteChannel
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.channels.ReadableByteChannel |
delegate |
| Constructor and Description |
|---|
ForwardingReadableByteChannel(java.nio.channels.ReadableByteChannel delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen() |
int |
read(java.nio.ByteBuffer dst) |
public ForwardingReadableByteChannel(java.nio.channels.ReadableByteChannel delegate)
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.io.Closeableclose in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channeljava.io.IOException