public interface FileDataInput extends DataInputPlus, java.io.Closeable
DataInputPlus.DataInputStreamPlus| Modifier and Type | Method and Description |
|---|---|
long |
bytesPastMark(FileMark mark) |
long |
bytesRemaining() |
long |
getFilePointer() |
java.lang.String |
getPath() |
boolean |
isEOF() |
FileMark |
mark() |
java.nio.ByteBuffer |
readBytes(int length)
Read length bytes from current file position
|
void |
reset(FileMark mark) |
void |
seek(long pos) |
readUnsignedVInt, readVIntjava.lang.String getPath()
boolean isEOF()
throws java.io.IOException
java.io.IOExceptionlong bytesRemaining()
throws java.io.IOException
java.io.IOExceptionvoid seek(long pos) throws java.io.IOException
java.io.IOExceptionFileMark mark()
void reset(FileMark mark) throws java.io.IOException
java.io.IOExceptionlong bytesPastMark(FileMark mark)
long getFilePointer()
java.nio.ByteBuffer readBytes(int length)
throws java.io.IOException
length - length of the bytes to readjava.io.IOException - if any I/O operation failedCopyright © 2015 The Apache Software Foundation