Serializable.javaAPI DocAndroid 1.5 API1654Wed May 06 22:41:04 BST


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( out) throws IOException}

{@code private void readObject( in) throws IOException, ClassNotFoundException}

Android 1.0

Fields Summary
Constructors Summary
Methods Summary