|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object p2p.simulator.utils.ObjectSerializer
public class ObjectSerializer
Constructor Summary | |
---|---|
ObjectSerializer()
|
Method Summary | |
---|---|
protected static java.lang.Object |
deserialize(byte[] bytes)
|
protected static byte[] |
serialize(java.io.Serializable obj)
|
static java.lang.Object |
serializeAndDeserialize(java.io.Serializable obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectSerializer()
Method Detail |
---|
public static java.lang.Object serializeAndDeserialize(java.io.Serializable obj)
protected static byte[] serialize(java.io.Serializable obj) throws java.io.IOException
java.io.IOException
protected static java.lang.Object deserialize(byte[] bytes) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |