|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.util.SerializationUtils
public final class SerializationUtils
Network utility.
Method Summary | |
---|---|
static Object |
deserializeObject(byte[] byteArray)
Deserialize object. |
static byte[] |
serializeObject(Object obj)
Serialize object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static byte[] serializeObject(Object obj) throws IOException
obj
- The object to serialize
IOException
public static Object deserializeObject(byte[] byteArray) throws IOException, ClassNotFoundException
byteArray
- The byte array
IOException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |