Package java.io
Interface Externalizable
Description:
A class implementing the Externalizable interface has to implement this method in order to save the contents of this object to the stream out by calling the methods of DataOutput for its primitive types or calling readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.