@Deprecated
public class ObjectMarshaller
extends java.lang.Object
| Constructor and Description |
|---|
ObjectMarshaller()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
marshall(java.lang.Object object)
Deprecated.
Marshall an object into a byte stream
|
static java.lang.Object |
readObject(java.io.DataInputStream din)
Deprecated.
Reads an object that was written using the writeObject(object,
DataOutputStream) from a DataInputStream
|
static java.lang.Object |
unmarshall(byte[] objectBytes)
Deprecated.
Unmrahsall an object from a byte stream
|
static void |
writeObject(java.lang.Object object,
java.io.DataOutputStream dout)
Deprecated.
Writes an object onto a DataOutputStream
|
public static byte[] marshall(java.lang.Object object)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.Object unmarshall(byte[] objectBytes)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic static void writeObject(java.lang.Object object,
java.io.DataOutputStream dout)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.Object readObject(java.io.DataInputStream din)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundException