Public class ObjectOutputStream extends OutputStream implements ObjectOutput, ObjectStreamConstants
Constructor | Description |
---|---|
Protected ObjectOutputStream() | The function of this constructor is to create the object output stream instance for reimplemetation. |
ObjectOutputStream(OutputStream out) | The function of this constructor is to create the object output stream instance and used to write to output stream. |
Method | Description |
---|---|
void writeFileds() | The function of this method is to write the fields to the object output stream. |
void use ProtocalVersion(int version) | The function of this method is to represent the protocol version of the stream while writing a stream. |
protected void drian() | The function of this method is to drain the buffered data related to object output stream. |
protected void annotateClass(Class<?>cl) | Because of this method accessing data related to class for to store in the stream which is implemented by subclasses. |
protected void writeStreamHeader() | The function of this method is to append or to prepends the headers to stream. |
void defaultWriteObject() | The function of this method is to write the dynamic and non - transient of the present class to the stream. |
Protected object replaceObject(Object obj) | The function of this method is to allow the subclasses to replace objects during serialization in object output stream. |