Reads a sequence of bytes from this channel into the given buffers.
An invocation of this method of the form c.read(dsts) behaves in exactly the same manner as the invocation
c.read(dsts, 0, dsts.length);
dsts
| The buffers into which bytes are to be transferred |
NonReadableChannelException
| If this channel was not opened for reading | |
ClosedChannelException
| If this channel is closed | |
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 | |
IOException
| If some other I/O error occurs |
Diagram: FileChannel