FileDocCategorySizeDatePackage
Externalizable.javaAPI DocAndroid 1.5 API1942Wed May 06 22:41:04 BST 2009java.io

Externalizable

public interface Externalizable implements Serializable
Defines an interface for classes that want to be serializable, but have their own binary representation.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public voidreadExternal(java.io.ObjectInput input)
Reads the next object from the ObjectInput input.

param
input the ObjectInput from which the next object is read.
throws
IOException if an error occurs attempting to read from {@code input}.
throws
ClassNotFoundException if the class of the instance being loaded cannot be found.
since
Android 1.0

public voidwriteExternal(java.io.ObjectOutput output)
Writes the receiver to the ObjectOutput output.

param
output the ObjectOutput to write the object to.
throws
IOException if an error occurs attempting to write to {@code output}.
since
Android 1.0