|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.util.ObjectMarshaller
public class ObjectMarshaller
A utility class to Marshall and Unmarshall object and object bytes
| Constructor Summary | |
|---|---|
ObjectMarshaller()
|
|
| Method Summary | |
|---|---|
static byte[] |
marshall(Object object)
Marshall an object into a byte stream |
static Object |
readObject(DataInputStream din)
Reads an object that was written using the writeObject(object, DataOutputStream) from a DataInputStream |
static Object |
unmarshall(byte[] objectBytes)
Unmrahsall an object from a byte stream |
static void |
writeObject(Object object,
DataOutputStream dout)
Writes an object onto a DataOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectMarshaller()
| Method Detail |
|---|
public static byte[] marshall(Object object)
throws IOException
IOException
public static Object unmarshall(byte[] objectBytes)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public static void writeObject(Object object,
DataOutputStream dout)
throws IOException
IOException
public static Object readObject(DataInputStream din)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||