|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ABlockReader
Method Summary | ||
---|---|---|
void |
close()
|
|
|
getIndex(Class<T> clazz)
|
|
int |
getPosition()
Get the file position. |
|
long |
getRawSize()
|
|
DataInputStream |
getStream()
|
|
boolean |
isIndexable()
An indexable block supports seeking, getting a position, and associating an arbitrary index with the block |
|
void |
seek(int position)
|
Methods inherited from interface java.io.DataInput |
---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
Method Detail |
---|
long getRawSize()
DataInputStream getStream() throws IOException
IOException
void close() throws IOException
IOException
boolean isIndexable()
void seek(int position)
int getPosition()
<T> T getIndex(Class<T> clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |