gr.uoa.di.madgik.commons.test.state
Class TestClassISerializable
java.lang.Object
gr.uoa.di.madgik.commons.test.state.TestClassISerializable
- All Implemented Interfaces:
- ISerializable
public class TestClassISerializable
- extends java.lang.Object
- implements ISerializable
- Author:
- gpapanikos
Method Summary |
void |
Deserialize(byte[] array)
Deserializes the the information as serialized by the implementing object's ISerializable.Serialize() |
byte[] |
Serialize()
Serializes the needed information for the interface implementing object instance |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TestClassISerializable
public TestClassISerializable()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Serialize
public byte[] Serialize()
throws java.lang.Exception
- Description copied from interface:
ISerializable
- Serializes the needed information for the interface implementing object instance
- Specified by:
Serialize
in interface ISerializable
- Returns:
- rgf
- Throws:
java.lang.Exception
- sdgf
Deserialize
public void Deserialize(byte[] array)
throws java.lang.Exception
- Description copied from interface:
ISerializable
- Deserializes the the information as serialized by the implementing object's
ISerializable.Serialize()
- Specified by:
Deserialize
in interface ISerializable
- Parameters:
array
- re
- Throws:
java.lang.Exception