|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
eu.reservoir.monitoring.distribution.XDRDataInputStream
public class XDRDataInputStream
An InputStream that has XDR encoded data in it.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
XDRDataInputStream(java.io.InputStream ins)
Construct an XDRDataInputStream. |
Method Summary | |
---|---|
boolean |
readBoolean()
Get a boolean from the stream. |
byte |
readByte()
Get a byte from the stream. |
byte[] |
readBytes()
Get a counted (ie variable length) array of bytes from the stream. |
char |
readChar()
Get a char from the stream. |
double |
readDouble()
Get a double from the stream. |
byte[] |
readFixed(int len)
Get a fixed array of bytes from the stream. |
float |
readFloat()
Get a float from the stream. |
void |
readFully(byte[] b)
Reads some bytes from an input stream and stores them into the buffer array b. |
void |
readFully(byte[] b,
int off,
int len)
Reads len bytes from an input stream. |
int |
readInt()
Get an integer from the stream. |
java.lang.String |
readLine()
Read a line from the input. |
long |
readLong()
Get a long from the stream. |
short |
readShort()
Get a short from the stream. |
java.lang.String |
readStream()
Read a string from the stream. |
int |
readUnsignedByte()
Get a byte from the stream. |
int |
readUnsignedShort()
Get a short from the stream. |
java.lang.String |
readUTF()
Read a string from the stream. |
int |
skipBytes(int n)
Make an attempt to skip some bytes in the input. |
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XDRDataInputStream(java.io.InputStream ins)
Method Detail |
---|
public boolean readBoolean() throws java.io.IOException
readBoolean
in interface java.io.DataInput
java.io.IOException
public byte readByte() throws java.io.IOException
readByte
in interface java.io.DataInput
java.io.IOException
public int readUnsignedByte() throws java.io.IOException
readUnsignedByte
in interface java.io.DataInput
java.io.IOException
public char readChar() throws java.io.IOException
readChar
in interface java.io.DataInput
java.io.IOException
public short readShort() throws java.io.IOException
readShort
in interface java.io.DataInput
java.io.IOException
public int readUnsignedShort() throws java.io.IOException
readUnsignedShort
in interface java.io.DataInput
java.io.IOException
public int readInt() throws java.io.IOException
readInt
in interface java.io.DataInput
java.io.IOException
public long readLong() throws java.io.IOException
readLong
in interface java.io.DataInput
java.io.IOException
public float readFloat() throws java.io.IOException
readFloat
in interface java.io.DataInput
java.io.IOException
public double readDouble() throws java.io.IOException
readDouble
in interface java.io.DataInput
java.io.IOException
public byte[] readBytes() throws java.io.IOException
java.io.IOException
public void readFully(byte[] b) throws java.io.IOException
readFully
in interface java.io.DataInput
java.io.IOException
public void readFully(byte[] b, int off, int len) throws java.io.IOException
readFully
in interface java.io.DataInput
java.io.IOException
public java.lang.String readStream() throws java.io.IOException
java.io.IOException
public java.lang.String readUTF() throws java.io.IOException
readUTF
in interface java.io.DataInput
java.io.IOException
public java.lang.String readLine() throws java.io.IOException
readLine
in interface java.io.DataInput
java.io.IOException
public byte[] readFixed(int len) throws java.io.IOException
java.io.IOException
public int skipBytes(int n) throws java.io.IOException
skipBytes
in interface java.io.DataInput
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |