The Java.io.ObjectOutputStream class writes primitive data types and graphs of Java objects to an OutputStream.The objects can be read (reconstituted) using an ObjectInputStream.
Following is the declaration for Java.io.ObjectOutputStream class:
public class ObjectOutputStream extends OutputStream implements ObjectOutput, ObjectStreamConstants
|S.N.||Constructor & Description|
This provides a way for subclasses that are completely reimplementing ObjectOutputStream to not have to allocate private data just used by this implementation of ObjectOutputStream.
This creates an ObjectOutputStream that writes to the specified OutputStream.
|S.N.||Method & Description|
Subclasses may implement this method to allow class data to be stored in the stream.
Subclasses may implement this method to store custom data in the stream along with descriptors for dynamic proxy classes.
This method closes the stream.
This method writes the non-static and non-transient fields of the current class to this stream.
This method drain any buffered data in ObjectOutputStream.
This method enable the stream to do replacement of objects in the stream.
This method flushes the stream.
This method retrieves the object used to buffer persistent fields to be written to the stream.
This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization.
This method reset will disregard the state of any objects already written to the stream.
This method specify stream protocol version to use when writing the stream.
This method writes an array of bytes.
This method writes a sub array of bytes.
This method writes a byte.
This method writes a boolean.
This method writes an 8 bit byte.
This method writes a String as a sequence of bytes.
This method writes a 16 bit char.
This method writes a String as a sequence of chars.
This method writes the specified class descriptor to the ObjectOutputStream.
This method writes a 64 bit double.
This method writes the buffered fields to the stream.
This method writes a 32 bit float.
This method writes a 32 bit int.
This method writes a 64 bit long.
This method writes the specified object to the ObjectOutputStream.
This method is used by subclasses to override the default writeObject method.
This method writes a 16 bit short.
This method is provided so subclasses can append or prepend their own header to the stream.
This method writes an "unshared" object to the ObjectOutputStream.
This method primitive data write of this String in modified UTF-8 format.
This class inherits methods from the following classes: