-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
Custom deserialization of Level.
- Throws:
java.io.IOException
- if IO exception.
java.lang.ClassNotFoundException
- if class not found.
-
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
Serialize level.
- Throws:
java.io.IOException
- if exception during serialization.
-
readResolve
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
Resolved deserialized level to one of the stock instances.
May be overridden in classes derived from Level.
- Throws:
java.io.ObjectStreamException
- if exception during resolution.