SerializableNameSerializableSynopsis
DescriptionThe Serializable interface is implemented by classes that allow object instances to be serialized and deserialized. A class uses the default serialization mechanism simply by implementing this interface. A class that wants finer control over serialization and deserialization should implement the following methods (with these exact signatures):
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException; private void writeObject(ObjectOutputStream out) throws IOException; The ObjectOutputStream and ObjectInputStream classes support serialization and deserialization, respectively. Interface Declaration
public abstract interface java.io.Serializable { } See AlsoBitSet, Boolean, BreakIterator, Calendar, Character, Class, Collator, Date, DateFormatSymbols, DecimalFormatSymbols, EventObject, Externalizable, File, Format, Hashtable, InetAddress, Locale, Number, ObjectInputStream, ObjectOutputStream, ObjectStreamClass, Random, String, StringBuffer, Throwable, TimeZone, URL, Vector |
|