|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReadableByteChannel
| Method Summary | |
|---|---|
int |
read(ByteBuffer dst)
Reads a sequence of bytes from this channel into the given buffer |
| Methods inherited from interface java.nio.channels.Channel |
|---|
close, isOpen |
| Method Detail |
|---|
int read(ByteBuffer dst)
throws IOException
dst - the buffer to put the read data into
AsynchronousCloseException - If another thread closes this
channel while the read operation is in progress
ClosedByInterruptException - If another thread interrupts the
current thread while the read operation is in progress, thereby closing
the channel and setting the current thread's interrupt status
ClosedChannelException - If this channel is closed
IOException - If an error occurs
NonReadableChannelException - If this channel was not opened for
reading
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||