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, skipBytes
long getFilePointer() throws IOException
IOException
void seek(long pos) throws IOException
IOException
long length() throws IOException
IOException
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow