March 2005
Beginner to intermediate
1254 pages
104h 21m
English
ObjectOutput
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; }
ObjectOutputStream
Externalizable.writeExternal( ),
ObjectOutputStream.PutField.write( )
Read now
Unlock full access