ObjectInput


ObjectInput java.io

Java 1.1

This interface extends the DataInput interface and adds methods for deserializing objects and reading bytes and arrays of bytes.

Figure 9-35. java.io.ObjectInput

 public interface  ObjectInput  extends DataInput {  // Public Instance Methods  int  available  ( ) throws IOException;        void  close  ( ) throws IOException;        int  read  ( ) throws IOException;        int  read  (byte[ ]  b  ) throws IOException;        int  read  (byte[ ]  b  , int  off  , int  len  ) throws IOException;        Object  readObject  ( ) throws ClassNotFoundException, IOException;        long  skip  (long  n  ) throws IOException;   } 

Implementations

ObjectInputStream

Passed To

Externalizable.readExternal( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net