API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. Externalizable View Source
Author(s)
unascribed
Since
JDK1.1
Version
1.20, 11/17/05
Serial
Hierarchy
 Serializable
      Externalizable
Subinterfaces
Description
public interface Externalizable
  Only the identity of the class of an Externalizable instance is written in the serialization stream and it is the responsibility of the class to save and restore the contents of its instances.
Methods
Hide/Show inherited methods
public void readExternal (ObjectInput in) throws IOException ClassNotFoundException
  The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
public void writeExternal (ObjectOutput out) throws IOException
  The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar