In
java SE6 API, there is a paragraph in ObjectInputStream:
Serializable classes that require special handling during the serialization and deserialization process should implement the following methods:
private void writeObject(java.io.ObjectOutputStream stream)
throws IOException;
private void readObject(java.io.ObjectInputStream stream)
throws IOException, ClassNotFoundException;
private void readObjectNoData()
throws ObjectStreamException;
Now that the method are all marked "private", how can they be "implement"ed? Can anyone give an example or shed some light on it? TIA