|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileDataInput
Method Summary | |
---|---|
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)
|
Methods inherited from interface java.io.DataInput |
---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
java.lang.String getPath()
boolean isEOF() throws java.io.IOException
java.io.IOException
long bytesRemaining() throws java.io.IOException
java.io.IOException
void seek(long pos) throws java.io.IOException
java.io.IOException
FileMark mark()
void reset(FileMark mark) throws java.io.IOException
java.io.IOException
long bytesPastMark(FileMark mark)
long getFilePointer()
java.nio.ByteBuffer readBytes(int length) throws java.io.IOException
length
- length of the bytes to read
java.io.IOException
- if any I/O operation failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |