Method Summary |
|
protected void | annotateClass(Class> aClass) Writes optional information for class aClass into the
stream represented by the receiver. |
protected void | annotateProxyClass(Class> aClass) Writes optional information for a proxy class into the stream represented
by the receiver. |
public void | close() Close this ObjectOutputStream. |
public void | defaultWriteObject() Default method to write objects into the receiver. |
protected void | drain() Flushes buffered primitive data into the receiver. |
protected boolean | enableReplaceObject(boolean enable) Enables/disables object replacement for the receiver. |
public void | flush() Flush this ObjectOutputStream. |
public PutField | putFields() Return the PutField object for the receiver. |
protected Object | replaceObject(Object object) If enableReplaceObject() was activated, computes the
replacement object for the original object object and
returns the replacement. |
public void | reset() Reset the receiver. |
public void | useProtocolVersion(int version) Set the receiver to use the given protocol version. |
public void | write(byte[] buffer) Writes the entire contents of the byte array buffer to
this ObjectOutputStream. |
public void | write(byte[] buffer, int offset, int length) Writes length bytes from the byte array
buffer starting at offset offset to the
ObjectOutputStream. |
public void | write(int value) Write one byte (value ) into the receiver's underlying
stream.
Parameters: value - The primitive data to write. |
public void | writeBoolean(boolean value) Write primitive data of type boolean (value )into the
receiver's underlying stream. |
public void | writeByte(int value) Write primitive data of type byte (value )into the
receiver's underlying stream. |
public void | writeBytes(String value) Write a String as a sequence of bytes (only lower-order 8 bits of each
char are written), as primitive data (value ) into the
receiver's underlying stream. |
public void | writeChar(int value) Write primitive data of type char (value )into the
receiver's underlying stream. |
public void | writeChars(String value) Write a String as a sequence of char, as primitive data (value )
into the receiver's underlying stream. |
protected void | writeClassDescriptor(ObjectStreamClass classDesc) Write class descriptor classDesc into the receiver. |
public void | writeDouble(double value) Write primitive data of type double (value )into the
receiver's underlying stream. |
public void | writeFields() Write the fields of the object being dumped. |
public void | writeFloat(float value) Write primitive data of type float (value )into the
receiver's underlying stream. |
public void | writeInt(int value) Write primitive data of type int (value )into the
receiver's underlying stream. |
public void | writeLong(long value) Write primitive data of type long (value )into the
receiver's underlying stream. |
final public void | writeObject(Object object) Write object object into the receiver's underlying stream. |
protected void | writeObjectOverride(Object object) Method to be overridden by subclasses to write object into
the receiver's underlying stream. |
public void | writeShort(int value) Write primitive data of type short (value )into the
receiver's underlying stream. |
protected void | writeStreamHeader() Writes the ObjectOutputStream header into the underlying stream. |
public void | writeUTF(String value) Write primitive data of type String (value ) in UTF
format into the receiver's underlying stream. |
public void | writeUnshared(Object object) Write object object into the receiver's underlying stream
unshared with previously written identical objects. |