Fields Summary |
---|
static final short | STREAM_MAGICMagic number that is written to the stream header. |
static final short | STREAM_VERSIONVersion number that is written to the stream header. |
static final byte | TC_BASEFirst tag value. |
static final byte | TC_NULLNull object reference. |
static final byte | TC_REFERENCEReference to an object already written into the stream. |
static final byte | TC_CLASSDESCnew Class Descriptor. |
static final byte | TC_OBJECTnew Object. |
static final byte | TC_STRINGnew String. |
static final byte | TC_ARRAYnew Array. |
static final byte | TC_CLASSReference to Class. |
static final byte | TC_BLOCKDATABlock of optional data. Byte following tag indicates number
of bytes in this block data. |
static final byte | TC_ENDBLOCKDATAEnd of optional block data blocks for an object. |
static final byte | TC_RESETReset stream context. All handles written into stream are reset. |
static final byte | TC_BLOCKDATALONGlong Block data. The long following the tag indicates the
number of bytes in this block data. |
static final byte | TC_EXCEPTIONException during write. |
static final byte | TC_LONGSTRINGLong string. |
static final byte | TC_PROXYCLASSDESCnew Proxy Class Descriptor. |
static final byte | TC_ENUMnew Enum constant. |
static final byte | TC_MAXLast tag value. |
static final int | baseWireHandleFirst wire handle to be assigned. |
static final byte | SC_WRITE_METHODBit mask for ObjectStreamClass flag. Indicates a Serializable class
defines its own writeObject method. |
static final byte | SC_BLOCK_DATABit mask for ObjectStreamClass flag. Indicates Externalizable data
written in Block Data mode.
Added for PROTOCOL_VERSION_2. |
static final byte | SC_SERIALIZABLEBit mask for ObjectStreamClass flag. Indicates class is Serializable. |
static final byte | SC_EXTERNALIZABLEBit mask for ObjectStreamClass flag. Indicates class is Externalizable. |
static final byte | SC_ENUMBit mask for ObjectStreamClass flag. Indicates class is an enum type. |
static final SerializablePermission | SUBSTITUTION_PERMISSIONEnable substitution of one object for another during
serialization/deserialization. |
static final SerializablePermission | SUBCLASS_IMPLEMENTATION_PERMISSIONEnable overriding of readObject and writeObject. |
public static final int | PROTOCOL_VERSION_1A Stream Protocol Version.
All externalizable data is written in JDK 1.1 external data
format after calling this method. This version is needed to write
streams containing Externalizable data that can be read by
pre-JDK 1.1.6 JVMs. |
public static final int | PROTOCOL_VERSION_2A Stream Protocol Version.
This protocol is written by JVM 1.2.
Externalizable data is written in block data mode and is
terminated with TC_ENDBLOCKDATA. Externalizable classdescriptor
flags has SC_BLOCK_DATA enabled. JVM 1.1.6 and greater can
read this format change.
Enables writing a nonSerializable class descriptor into the
stream. The serialVersionUID of a nonSerializable class is
set to 0L. |