java.io.ObjectInput (JDK 1.1)
This interface extends the DataInput interface and adds methods for deserializing objects and reading bytes and arrays of bytes.
public abstract interfaceObjectInputextends DataInput { //Public Instance Methodspublic abstract intavailable() throws IOException; public abstract voidclose() throws IOException; public abstract intread() throws IOException; public abstract intread(byte[]b) throws IOException; public abstract intread(byte[]b, intoff, intlen) throws IOException; public abstract ObjectreadObject() throws ClassNotFoundException, IOException; public abstract longskip(longn) throws IOException; }
Implemented By:
ObjectInputStream
Passed To:
Externalizable.readExternal()