| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | writeClassDescriptor(ObjectStreamClass
class descriptor to write to the stream desc)
Write the specified class descriptor to the ObjectOutputStream.
|
| protected void | writeStreamHeader()
Overrides java. |
| TYPE_FAT_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final int TYPE_FAT_DESCRIPTOR | |
| TYPE_THIN_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final int TYPE_THIN_DESCRIPTOR | |
| CompactObjectOutputStream | back to summary |
|---|---|
| pack-priv CompactObjectOutputStream(OutputStream out) throws IOException | |
| writeClassDescriptor | back to summary |
|---|---|
| protected void writeClassDescriptor(ObjectStreamClass desc) throws IOException Overrides java. Doc from java. Write the specified class descriptor to the ObjectOutputStream. Class
descriptors are used to identify the classes of objects written to the
stream. Subclasses of ObjectOutputStream may override this method to
customize the way in which class descriptors are written to the
serialization stream. The corresponding method in ObjectInputStream,
Note that this method will only be called if the ObjectOutputStream
is not using the old serialization stream format (set by calling
ObjectOutputStream's
| |
| writeStreamHeader | back to summary |
|---|---|
| protected void writeStreamHeader() throws IOException Overrides java. Doc from java. The writeStreamHeader method is provided so subclasses can append or prepend their own header to the stream. It writes the magic number and version to the stream.
| |