|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.anotheria.net.util.ByteArraySerializer
public final class ByteArraySerializer
This utility serializes a class to a byte array.
| Method Summary | |
|---|---|
static Object |
deserializeObject(byte[] array)
Desirializes a previously serialized from a byte array. |
static byte[] |
serializeObject(Serializable obj)
Serializes a serializeable object into a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] serializeObject(Serializable obj)
throws IOException
obj - the object to serialize
IOException
public static Object deserializeObject(byte[] array)
throws IOException
array - the byte array with the contents of the object.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||