|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Untamed: Constants written into the Object Serialization Stream.
Field Summary | |
static int |
baseWireHandle
Enabled: First wire handle to be assigned. |
static int |
PROTOCOL_VERSION_1
Enabled: A Stream Protocol Version. |
static int |
PROTOCOL_VERSION_2
Enabled: A Stream Protocol Version. |
static byte |
SC_BLOCK_DATA
Enabled: Bit mask for ObejctStreamClass flag. |
static byte |
SC_EXTERNALIZABLE
Enabled: Bit mask for ObjectStreamClass flag. |
static byte |
SC_SERIALIZABLE
Enabled: Bit mask for ObjectStreamClass flag. |
static byte |
SC_WRITE_METHOD
Enabled: Bit mask for ObjectStreamClass flag. |
static short |
STREAM_MAGIC
Enabled: Magic number that is written to the stream header. |
static short |
STREAM_VERSION
Enabled: Version number that is written to the stream header. |
static SerializablePermission |
SUBCLASS_IMPLEMENTATION_PERMISSION
Enabled: Enable overriding of readObject and writeObject. |
static SerializablePermission |
SUBSTITUTION_PERMISSION
Enabled: Enable substitution of one object for another during serialization/deserialization. |
static byte |
TC_ARRAY
Enabled: new Array. |
static byte |
TC_BASE
Enabled: First tag value. |
static byte |
TC_BLOCKDATA
Enabled: Block of optional data. |
static byte |
TC_BLOCKDATALONG
Enabled: long Block data. |
static byte |
TC_CLASS
Enabled: Reference to Class. |
static byte |
TC_CLASSDESC
Enabled: new Class Descriptor. |
static byte |
TC_ENDBLOCKDATA
Enabled: End of optional block data blocks for an object. |
static byte |
TC_EXCEPTION
Enabled: Exception during write. |
static byte |
TC_LONGSTRING
Enabled: Long string. |
static byte |
TC_MAX
Enabled: Last tag value. |
static byte |
TC_NULL
Enabled: Null object reference. |
static byte |
TC_OBJECT
Enabled: new Object. |
static byte |
TC_PROXYCLASSDESC
Enabled: new Proxy Class Descriptor. |
static byte |
TC_REFERENCE
Enabled: Reference to an object already written into the stream. |
static byte |
TC_RESET
Enabled: Reset stream context. |
static byte |
TC_STRING
Enabled: new String. |
Field Detail |
public static final short STREAM_MAGIC
public static final short STREAM_VERSION
public static final byte TC_BASE
public static final byte TC_NULL
public static final byte TC_REFERENCE
public static final byte TC_CLASSDESC
public static final byte TC_OBJECT
public static final byte TC_STRING
public static final byte TC_ARRAY
public static final byte TC_CLASS
public static final byte TC_BLOCKDATA
public static final byte TC_ENDBLOCKDATA
public static final byte TC_RESET
public static final byte TC_BLOCKDATALONG
public static final byte TC_EXCEPTION
public static final byte TC_LONGSTRING
public static final byte TC_PROXYCLASSDESC
public static final byte TC_MAX
public static final int baseWireHandle
public static final byte SC_WRITE_METHOD
public static final byte SC_BLOCK_DATA
PROTOCOL_VERSION_2
public static final byte SC_SERIALIZABLE
public static final byte SC_EXTERNALIZABLE
public static final SerializablePermission SUBSTITUTION_PERMISSION
java.io.ObjectOutputStream#enableReplaceObject(boolean)
,
java.io.ObjectInputStream#enableResolveObject(boolean)
public static final SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION
java.io.ObjectOutputStream#writeObjectOverride(Object)
,
java.io.ObjectInputStream#readObjectOverride()
public static final int PROTOCOL_VERSION_1
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.
java.io.ObjectOutputStream#useProtocolVersion(int)
public static final int PROTOCOL_VERSION_2
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.
java.io.ObjectOutputStream#useProtocolVersion(int)
,
SC_BLOCK_DATA
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |