DthingApi
java.io.Serializable Interface Reference
Inheritance diagram for java.io.Serializable:
java.io.File java.lang.StackTraceElement java.net.http.URL java.net.InetAddress java.net.SocketAddress java.text.Format java.util.ArrayList< E > java.util.Calendar java.util.HashMap< K, V > java.util.HashSet< E > java.util.Hashtable< K, V > java.util.Locale java.util.TimeZone java.util.Vector< E >

Detailed Description

An empty marker interface for classes that want to support serialization and deserialization based on the

ObjectOutputStream

and

ObjectInputStream

classes. Implementing this interface is enough to make most classes serializable. If a class needs more fine-grained control over the serialization process (for example to implement compatibility with older versions of the class), it can achieve this by providing the following two methods (signatures must match exactly):

private void writeObject(java.io.ObjectOutputStream out) throws
IOException
private void readObject(java.io.ObjectInputStream in) throws
IOException, ClassNotFoundException

The documentation for this interface was generated from the following file: