|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataRandomAccess
Provides methods to access a DataInput/Output media at random positions.
Method Summary | |
---|---|
int |
getOffset()
Get the seek position in the media. |
int |
length()
Get length of the media. |
void |
seek(int offset)
Set the seek position in the media. |
Methods inherited from interface com.sentilla.io.DataInput |
---|
readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUnsignedByte, readUTF |
Methods inherited from interface com.sentilla.io.Input |
---|
close, read, read, read, skip |
Methods inherited from interface com.sentilla.io.DataOutput |
---|
writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from interface com.sentilla.io.Output |
---|
close, flush, write, write, write |
Method Detail |
---|
int getOffset()
int length()
void seek(int offset)
offset
- byte index to seek to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |