|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.io.DataInputStream
public abstract class DataInputStream
This class is part of the Egothor Project
| Constructor Summary | |
|---|---|
DataInputStream()
|
|
| Method Summary | |
|---|---|
void |
close()
Description of the Method |
abstract int |
directRead(long from,
byte[] arr)
Read from the offset position without buffering. |
long |
getFilePointer()
Gets the filePointer attribute of the DataInputStream object |
long |
getMarkPointer()
Returns the offset of the mark if any, else returns 0. |
void |
jump()
|
long |
length()
Description of the Method |
void |
mark(long skip)
Denote position at getFilePointer+skip for DataInput.jump(). |
abstract int |
read(byte[] arr,
int offset,
int max_len)
|
boolean |
readBoolean()
|
abstract byte |
readByte()
Description of the Method |
abstract int |
readFully(byte[] arr)
Description of the Method |
int |
readInt()
Description of the Method |
long |
readLong()
Description of the Method |
long |
readPack7()
Read a next long stored in a pack-7bit coding. |
int |
readPack7I()
Read a next integer stored in a pack-7bit coding. |
int |
readShort()
Description of the Method |
java.lang.String |
readString()
Description of the Method |
java.lang.StringBuilder |
readString(java.lang.StringBuilder last)
Read a next word which is saved in the prefix coding. |
void |
seek(long pos)
Description of the Method |
void |
skipBytes(long gap)
Description of the Method |
void |
skipPack7()
|
void |
skipPack7I()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataInputStream()
| Method Detail |
|---|
public long getFilePointer()
throws java.io.IOException
getFilePointer in interface DataInputjava.io.IOException - Description of the Exception
public void close()
throws java.io.IOException
java.io.IOException - Description of the Exception
public abstract int readFully(byte[] arr)
throws java.io.IOException
readFully in interface DataInputarr - Description of the Parameter
java.io.IOException - Description of the Exception
public abstract int read(byte[] arr,
int offset,
int max_len)
throws java.io.IOException
read in interface DataInputarr - Description of the Parametermax_len - Description of the Parameter
java.io.IOException - Description of the Exception
public abstract byte readByte()
throws java.io.IOException
readByte in interface DataInputjava.io.IOException - Description of the Exception
public long readLong()
throws java.io.IOException
readLong in interface DataInputjava.io.IOException - Description of the Exception
public int readInt()
throws java.io.IOException
readInt in interface DataInputjava.io.IOException - Description of the Exception
public int readShort()
throws java.io.IOException
readShort in interface DataInputjava.io.IOException - Description of the Exception
public void seek(long pos)
throws java.io.IOException
seek in interface DataInputpos - Description of the Parameter
java.io.IOException - Description of the Exception
public long length()
throws java.io.IOException
length in interface DataInputjava.io.IOException - Description of the Exception
public void skipBytes(long gap)
throws java.io.IOException
skipBytes in interface DataInputgap - Description of the Parameter
java.io.IOException - Description of the Exception
public final long readPack7()
throws java.io.IOException
readPack7 in interface DataInputjava.io.IOException - Description of the Exception
public final void skipPack7()
throws java.io.IOException
skipPack7 in interface DataInputjava.io.IOException
public final void skipPack7I()
throws java.io.IOException
skipPack7I in interface DataInputjava.io.IOException
public final int readPack7I()
throws java.io.IOException
readPack7I in interface DataInputjava.io.IOException - Description of the Exception
public java.lang.StringBuilder readString(java.lang.StringBuilder last)
throws java.io.IOException
readString in interface DataInputlast - Description of the Parameter
java.io.IOException - Description of the Exception
public java.lang.String readString()
throws java.io.IOException
readString in interface DataInputjava.io.IOException - Description of the Exception
public boolean readBoolean()
throws java.io.IOException
readBoolean in interface DataInputjava.io.IOExceptionpublic long getMarkPointer()
DataInput
getMarkPointer in interface DataInput
public void jump()
throws java.io.IOException
jump in interface DataInputjava.io.IOExceptionpublic void mark(long skip)
DataInputDataInput.jump().
mark in interface DataInput
public abstract int directRead(long from,
byte[] arr)
throws java.io.IOException
DataInput
directRead in interface DataInputjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||