All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Interface java.io.Resolvable

public interface Resolvable
extends Serializable
The Resolvable interface allows a serializable class to designate designate it's replacement when it's read from the stream. Resolvable extends serializable to specify that Resolvable applies only to Serializable objects. An Externalizable object uses the same replacement mechanism by implementing both Externalizable and Resolvable.

Since:
JDK1.2
See Also:
ObjectInputStream

Method Index

 o readResolve()
Return an object to replace the object extracted from the stream.

Methods

 o readResolve
public abstract Object readResolve()
Return an object to replace the object extracted from the stream. The object will be used in the graph in place of the original.


All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature