|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WritableByteChannel
Method Summary | |
---|---|
int |
write(ByteBuffer src)
Writes a sequence of bytes to this channel from the given buffer |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Method Detail |
---|
int write(ByteBuffer src) throws IOException
AsynchronousCloseException
- If another thread closes this
channel while the write operation is in progress
ClosedByInterruptException
- If another thread interrupts the
current thread while the write 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
NonWritableChannelException
- If this channel was not opened for
writing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |