public interface JBaseObjectReader
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte[] |
readBytes() |
int |
readInt()
Reads a 32 bits integer from the underlying InputStream.
|
java.lang.Object |
readObject()
Reads/deserializes next object.
|
IByteObject |
readObject(IByteObject o)
Reads/deserializes next byte object, a new IByteObject should be created and returned
if a null argument is passed in.
|
JBaseSerializable |
readObject(JBaseSerializable o)
Reads/deserializes next object, a JBaseSerializable object should be created and returned
if a null argument is passed in.
|
JBaseSerializable |
readRootObject()
Deserializes a root object.
|
java.lang.String |
readString()
Reads a java.lang.String.
|
java.lang.Object readObject() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
JBaseSerializable readObject(JBaseSerializable o) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
IByteObject readObject(IByteObject o) throws java.io.IOException
java.io.IOException
int readInt() throws java.io.IOException
java.io.IOException
java.lang.String readString() throws java.io.IOException
java.io.IOException
byte[] readBytes() throws java.io.IOException
java.io.IOException
JBaseSerializable readRootObject() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
void close() throws java.io.IOException
java.io.IOException