public class EXDRInputStream
extends java.io.DataInputStream
Use the method readTerm()
to convert from EXDR into
Java CompoundTerm objects and instances of other relevant Java classes
which represent ECLiPSe types.
Note that EXDRInputStream objects are often constructed using the
FromEclipseQueue
class.
CompoundTerm
,
FromEclipseQueue
Constructor and Description |
---|
EXDRInputStream(java.io.InputStream in)
Construct an EXDRInputStream using a given InputStream for
incoming data.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
readTerm()
Read a chunk (one term's worth) of EXDR from the incoming data and
convert it into the corresponding object (an instance of CompoundTerm, Integer,
etc.).
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
public EXDRInputStream(java.io.InputStream in)
public java.lang.Object readTerm() throws java.io.IOException
java.io.IOException