|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
nom.tam.util.BufferedDataInputStream
| Field Summary |
| Fields inherited from class java.io.BufferedInputStream |
buf, count, marklimit, markpos, pos |
| Fields inherited from class java.io.FilterInputStream |
in |
| Constructor Summary | |
BufferedDataInputStream(InputStream o)
Use the BufferedInputStream constructor |
|
BufferedDataInputStream(InputStream o,
int bufLength)
Use the BufferedInputStream constructor |
|
| Method Summary | |
static void |
main(String[] args)
This method is used to test and time the buffered data methods. |
protected int |
primitiveArrayRecurse(Object o)
|
protected void |
primitiveEOFThrower()
|
void |
printStatus()
|
int |
read()
|
int |
read(byte[] buf,
int offset,
int len)
|
boolean |
readBoolean()
Read a boolean value |
protected int |
readBooleanArray(boolean[] b)
|
byte |
readByte()
|
char |
readChar()
|
protected int |
readCharArray(char[] c)
|
double |
readDouble()
|
protected int |
readDoubleArray(double[] d)
|
float |
readFloat()
|
protected int |
readFloatArray(float[] f)
|
void |
readFully(byte[] b)
|
void |
readFully(byte[] b,
int off,
int len)
|
int |
readInt()
|
protected int |
readIntArray(int[] i)
|
String |
readLine()
Deprecated. |
long |
readLong()
|
protected int |
readLongArray(long[] l)
|
int |
readPrimitiveArray(Object o)
This routine provides efficient reading of arrays of any primitive type. |
short |
readShort()
|
protected int |
readShortArray(short[] s)
|
int |
readUnsignedByte()
|
int |
readUnsignedShort()
|
String |
readUTF()
|
long |
skip(long offset)
|
int |
skipBytes(int toSkip)
|
String |
toString()
|
| Methods inherited from class java.io.BufferedInputStream |
available, close, mark, markSupported, reset |
| Methods inherited from class java.io.FilterInputStream |
read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BufferedDataInputStream(InputStream o)
public BufferedDataInputStream(InputStream o,
int bufLength)
| Method Detail |
public int read(byte[] buf,
int offset,
int len)
throws IOException
IOException
public int read()
throws IOException
IOException
public long skip(long offset)
throws IOException
IOException
public boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOException
public byte readByte()
throws IOException
readByte in interface DataInputIOException
public int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOException
public int readInt()
throws IOException
readInt in interface DataInputIOException
public short readShort()
throws IOException
readShort in interface DataInputIOException
public int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOException
public char readChar()
throws IOException
readChar in interface DataInputIOException
public long readLong()
throws IOException
readLong in interface DataInputIOException
public float readFloat()
throws IOException
readFloat in interface DataInputIOException
public double readDouble()
throws IOException
readDouble in interface DataInputIOException
public void readFully(byte[] b)
throws IOException
readFully in interface DataInputIOException
public void readFully(byte[] b,
int off,
int len)
throws IOException
readFully in interface DataInputIOException
public int skipBytes(int toSkip)
throws IOException
skipBytes in interface DataInputIOException
public String readUTF()
throws IOException
readUTF in interface DataInputIOException
public String readLine()
throws IOException
readLine in interface DataInputIOException
public int readPrimitiveArray(Object o)
throws IOException
o - The object to be read. It must be an array of a primitive type,
or an array of Object's.
IOException
protected int primitiveArrayRecurse(Object o)
throws IOException
IOException
protected int readBooleanArray(boolean[] b)
throws IOException
IOException
protected int readShortArray(short[] s)
throws IOException
IOException
protected int readCharArray(char[] c)
throws IOException
IOException
protected int readIntArray(int[] i)
throws IOException
IOException
protected int readLongArray(long[] l)
throws IOException
IOException
protected int readFloatArray(float[] f)
throws IOException
IOException
protected int readDoubleArray(double[] d)
throws IOException
IOException
protected void primitiveEOFThrower()
throws EOFException
EOFExceptionpublic void printStatus()
public String toString()
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||