java.io.ObjectStreamConstants
java.io.ObjectStreamConstants |
|
Helper interface with constants used by the serialization implementation.
Known Indirect Subclasses
ObjectInputStream |
An ObjectInputStream can be used to load Java objects from a stream where the
objects were saved using an ObjectOutputStream. |
ObjectOutputStream |
An ObjectOutputStream can be used to save Java objects into a stream where
the objects can be loaded later with an ObjectInputStream. |
Summary
Details
Constants
public
static
final
int
PROTOCOL_VERSION_1
Constant Value:
1
(0x00000001)
public
static
final
int
PROTOCOL_VERSION_2
Constant Value:
2
(0x00000002)
public
static
final
byte
SC_BLOCK_DATA
Constant Value:
8
(0x00000008)
public
static
final
byte
SC_ENUM
the bitmask denoting that the object is a enum
Constant Value:
16
(0x00000010)
public
static
final
byte
SC_EXTERNALIZABLE
Constant Value:
4
(0x00000004)
public
static
final
byte
SC_SERIALIZABLE
Constant Value:
2
(0x00000002)
public
static
final
byte
SC_WRITE_METHOD
Constant Value:
1
(0x00000001)
public
static
final
short
STREAM_MAGIC
Used for the stream header
Constant Value:
-21267
(0xffffaced)
public
static
final
short
STREAM_VERSION
Used for the stream header
Constant Value:
5
(0x00000005)
public
static
final
byte
TC_ARRAY
Constant Value:
117
(0x00000075)
public
static
final
byte
TC_BASE
Constant Value:
112
(0x00000070)
public
static
final
byte
TC_BLOCKDATA
Constant Value:
119
(0x00000077)
public
static
final
byte
TC_BLOCKDATALONG
Constant Value:
122
(0x0000007a)
public
static
final
byte
TC_CLASS
Constant Value:
118
(0x00000076)
public
static
final
byte
TC_CLASSDESC
Constant Value:
114
(0x00000072)
public
static
final
byte
TC_ENDBLOCKDATA
Constant Value:
120
(0x00000078)
public
static
final
byte
TC_ENUM
constant for new enum
Constant Value:
126
(0x0000007e)
public
static
final
byte
TC_EXCEPTION
Constant Value:
123
(0x0000007b)
public
static
final
byte
TC_LONGSTRING
Constant Value:
124
(0x0000007c)
public
static
final
byte
TC_MAX
Constant Value:
126
(0x0000007e)
public
static
final
byte
TC_NULL
Constant Value:
112
(0x00000070)
public
static
final
byte
TC_OBJECT
Constant Value:
115
(0x00000073)
public
static
final
byte
TC_PROXYCLASSDESC
Constant Value:
125
(0x0000007d)
public
static
final
byte
TC_REFERENCE
Constant Value:
113
(0x00000071)
public
static
final
byte
TC_RESET
Constant Value:
121
(0x00000079)
public
static
final
byte
TC_STRING
Constant Value:
116
(0x00000074)
public
static
final
int
baseWireHandle
The first object dumped gets assigned this handle/ID
Constant Value:
8257536
(0x007e0000)