public interface RandomDataInput extends DataInput, Closeable
| Modifier and Type | Method and Description |
|---|---|
long |
getFilePointer()
Return the current position in the file
|
long |
length()
Returns the length of the file
|
void |
seek(long pos)
Seek to specified position in the file
|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipByteslong getFilePointer()
throws IOException
IOExceptionvoid seek(long pos)
throws IOException
IOExceptionlong length()
throws IOException
IOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow