|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISerialisable
Marks an implementing class as serialisable.
Ensure that the implementing class is accessible from all packages and that it defines a default constructor. Otherwise it cannot be accessed or instantiated!
| Method Summary | |
|---|---|
void |
deserialise(IDeserialiser in)
Defines the protocol to deserialise data and fill the fields of the implementing class. |
void |
serialise(ISerialiser out)
This method defines the serialisation protocol of the implementing class. |
| Method Detail |
|---|
void serialise(ISerialiser out)
throws IOException
out - the serialiser to write the content to
IOException - if problems occur during the serialisation processISerialiser.writeObject(Object)
void deserialise(IDeserialiser in)
throws IOException,
ClassNotFoundException
Ensure that the protocols defined here and in serialise(ISerialiser) are
compatible!
in - the deserialiser to read the content from
IOException - if problems occur during the deserialisation process
ClassNotFoundException - if class cannot be loaded and instantiatedIDeserialiser.readObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||