FileDocCategorySizeDatePackage
Serializable.javaAPI DocAndroid 1.5 API1654Wed May 06 22:41:04 BST 2009java.io

Serializable

public interface Serializable
An empty marker interface for classes that want to support serialization and deserialization based on the {@code ObjectOutputStream} and {@code 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):

{@code private void writeObject(java.io.ObjectOutputStream out) throws IOException}

{@code private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException}

since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary