|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RandomAccessR
Interface for random access (read only)
| Field Summary | |
|---|---|
static int |
KILL32
kill the highest 8 bit (by a 32 bit int) |
static int |
X24
get bit 24 |
| Method Summary | |
|---|---|
void |
close()
|
byte[] |
getData()
Returns the data. |
long |
getPointer()
Returns the pointer in the buffer. |
boolean |
isEOF()
Check, if EOF is reached. |
long |
length()
|
int |
readByteAsInt()
Reads a byte of data from this file. |
int |
readInt16()
Reads a int with 16 bit (2x8). |
int |
readInt24()
Reads a int with 24 bit (3x8). |
int |
readInt8()
Reads a int with 8 bit (1x8). |
int |
readSignInt24()
Reads a sign int with 24 bit (3x8). |
void |
seek(long arg0)
|
| Methods inherited from interface java.io.DataInput |
|---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
| Field Detail |
|---|
static final int KILL32
static final int X24
| Method Detail |
|---|
void close()
throws java.io.IOException
java.io.IOExceptionRandomAccessFile.close()
byte[] getData()
throws java.io.IOException
java.io.IOException
long getPointer()
throws java.io.IOException
java.io.IOException - if an IO error occurs
boolean isEOF()
throws java.io.IOException
true, if EOF is reached.
java.io.IOException - if an IO error occurs.
long length()
throws java.io.IOException
java.io.IOExceptionRandomAccessFile.length()
int readByteAsInt()
throws java.io.IOException
0x00-0x0ff).
java.io.IOException - if an IO error occurs.
int readInt16()
throws java.io.IOException
java.io.IOException - if an IO error occurs.
int readInt24()
throws java.io.IOException
java.io.IOException - if an IO error occurs.
int readInt8()
throws java.io.IOException
java.io.IOException - if an IO error occurs.
int readSignInt24()
throws java.io.IOException
java.io.IOException - if an IO error occurs.
void seek(long arg0)
throws java.io.IOException
java.io.IOExceptionRandomAccessFile.seek(long)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||