Package java.io

Interface Externalizable

All Superinterfaces:
Serializable

public interface Externalizable
extends Serializable
Defines an interface for classes that want to be serializable, but have their own binary representation.
  • Method Summary

    Modifier and Type Method Description
    void readExternal​(ObjectInput input)
    Reads the next object from the ObjectInput input.
    void writeExternal​(ObjectOutput output)
    Writes the receiver to the ObjectOutput output.