public final class LocalFileInputChannel extends SeekableInputChannel
| Constructor and Description |
|---|
LocalFileInputChannel(FileInputStream fileInputStream) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
implCloseChannel() |
long |
position() |
int |
read(ByteBuffer dst) |
void |
seek(long offset) |
long |
size() |
read, readbegin, close, end, isOpenpublic LocalFileInputChannel(FileInputStream fileInputStream) throws IOException
IOExceptionpublic int read(ByteBuffer dst) throws IOException
IOExceptionpublic void seek(long offset)
throws IOException
IOExceptionpublic long position()
throws IOException
IOExceptionpublic long size()
throws IOException
IOExceptionprotected void implCloseChannel()
throws IOException
implCloseChannel in class AbstractInterruptibleChannelIOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.