FileDocCategorySizeDatePackage
ObjectStreamConstants.javaAPI DocAndroid 1.5 API6379Wed May 06 22:41:04 BST 2009java.io

ObjectStreamConstants

public abstract interface ObjectStreamConstants
A helper interface with constants used by the serialization implementation.
since
Android 1.0

Fields Summary
public static final short
STREAM_MAGIC
The stream header's magic number.
public static final short
STREAM_VERSION
The stream header's version number.
public static final byte
TC_BASE
The minimum tag value.
public static final byte
TC_NULL
Tag to mark a {@code null} object reference.
public static final byte
TC_REFERENCE
Tag to mark a reference to an object that has already been written to the stream.
public static final byte
TC_CLASSDESC
Tag to mark a new class descriptor.
public static final byte
TC_OBJECT
Tag to mark a new object.
public static final byte
TC_STRING
Tag to mark a new string.
public static final byte
TC_ARRAY
Tag to mark a new array.
public static final byte
TC_CLASS
Tag to mark a reference to a class.
public static final byte
TC_BLOCKDATA
Tag to mark a block of optional data. The byte following this tag indicates the size of the block.
public static final byte
TC_ENDBLOCKDATA
Tag to mark the end of block data blocks for an object.
public static final byte
TC_RESET
Tag to mark a stream reset.
public static final byte
TC_BLOCKDATALONG
Tag to mark a long block of data. The long following this tag indicates the size of the block.
public static final byte
TC_EXCEPTION
Tag to mark an exception.
public static final byte
TC_LONGSTRING
Tag to mark a long string.
public static final byte
TC_PROXYCLASSDESC
Tag to mark a new proxy class descriptor.
public static final byte
TC_MAX
The maximum tag value.
public static final int
baseWireHandle
Handle for the first object that gets serialized.
public static final int
PROTOCOL_VERSION_1
Stream protocol version 1.
public static final int
PROTOCOL_VERSION_2
Stream protocol version 2.
public static final SerializablePermission
SUBCLASS_IMPLEMENTATION_PERMISSION
Permission constant to enable subclassing of ObjectInputStream and ObjectOutputStream.
public static final SerializablePermission
SUBSTITUTION_PERMISSION
Permission constant to enable object substitution during serialization and deserialization.
public static final byte
SC_WRITE_METHOD
Bit mask for the {@code flag} field in ObjectStreamClass. Indicates that a serializable class has its own {@code writeObject} method.
public static final byte
SC_SERIALIZABLE
Bit mask for the {@code flag} field in ObjectStreamClass. Indicates that a class is serializable.
public static final byte
SC_EXTERNALIZABLE
Bit mask for the {@code flag} field in ObjectStreamClass. Indicates that a class is externalizable.
public static final byte
SC_BLOCK_DATA
Bit mask for the {@code flag} field in ObjectStreamClass. Indicates that an externalizable class is written in block data mode.
public static final byte
TC_ENUM
Tag to mark a new enum.
public static final byte
SC_ENUM
Bit mask for the {@code flag} field in ObjectStreamClass. Indicates that a class is an enum type.
Constructors Summary
Methods Summary