Package org.jcsp.net.dynamic
Class SerializedData.ExtClass
java.lang.Object
org.jcsp.net.dynamic.SerializedData.ExtClass
- All Implemented Interfaces:
Externalizable
,Serializable
- Enclosing class:
SerializedData
This class exists because the main class cannot have a no-arg
constructor as required by externalizable.
On serialization, this object replaces the SerializedObject.
-
Field Summary
FieldsModifier and TypeFieldDescriptionString representation of the object.byte[]
Binary serialized form of the object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
-
Field Details
-
serializedData
public byte[] serializedDataBinary serialized form of the object. -
objectToString
String representation of the object.
-
-
Constructor Details
-
ExtClass
public ExtClass()Constructs a new instance of this class.
-
-
Method Details
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
readResolve
- Throws:
ObjectStreamException
-