ObjectOutput


ObjectOutput java.io

Java 1.1

This interface extends the DataOutput interface and adds methods for serializing objects and writing bytes and arrays of bytes.

Figure 9-37. java.io.ObjectOutput

 public interface  ObjectOutput  extends DataOutput {  // Public Instance Methods  void  close  ( ) throws IOException;        void  flush  ( ) throws IOException;        void  write  (byte[ ]  b  ) throws IOException;        void  write  (int  b  ) throws IOException;        void  write  (byte[ ]  b  , int  off  , int  len  ) throws IOException;        void  writeObject  (Object  obj  ) throws IOException;   } 

Implementations

ObjectOutputStream

Passed To

Externalizable.writeExternal( ) , ObjectOutputStream.PutField.write( )



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