FileChannelInputStream

Allows to read from a file channel like an input stream.

Methods
FileChannelInputStream(FileChannel channel, boolean closeChannel)
Create a new file object input stream from the file channel.
FileChannelInputStream(FileChannel channel, boolean closeChannel)
Create a new file object input stream from the file channel.
Parameters:
channel - the file channel
closeChannel - whether closing the stream should close the channel
void close()
void close() throws IOException
int read()
int read() throws IOException
int read(byte[] b)
int read(byte[] b) throws IOException
int read(byte[] b, int off, int len)
int read(byte[] b, int off, int len) throws IOException