Package | Description |
---|---|
java.io |
Modifier and Type | Class and Description |
---|---|
class |
ObjectOutputStream
An ObjectOutputStream writes primitive data types and graphs of Java objects
to an OutputStream.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ObjectOutputStream.PutField.write(ObjectOutput out)
Deprecated.
This method does not write the values contained by this
PutField object in a proper format, and may
result in corruption of the serialization stream. The
correct way to write PutField data is by
calling the ObjectOutputStream.writeFields()
method. |
void |
Externalizable.writeExternal(ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|