API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. ObjectStreamConstants View Source
Author(s)
unascribed
Since
JDK 1.1
Version
1.36, 04/07/06
Serial
Hierarchy
 ObjectStreamConstants
Subinterfaces
Description
public interface ObjectStreamConstants
  Constants written into the Object Serialization Stream.
See also:   
Methods
Hide/Show inherited methods
Fields
Hide/Show inherited fields
publicfinalstatic int baseWireHandle = "8257536"
First wire handle to be assigned.
publicfinalstatic int PROTOCOL_VERSION_1 = "1"
  A Stream Protocol Version.
publicfinalstatic int PROTOCOL_VERSION_2 = "2"
  A Stream Protocol Version.
publicfinalstatic byte SC_BLOCK_DATA = "8"
  Bit mask for ObjectStreamClass flag.
publicfinalstatic byte SC_ENUM = "16"
  Bit mask for ObjectStreamClass flag.
publicfinalstatic byte SC_EXTERNALIZABLE = "4"
  Bit mask for ObjectStreamClass flag.
publicfinalstatic byte SC_SERIALIZABLE = "2"
  Bit mask for ObjectStreamClass flag.
publicfinalstatic byte SC_WRITE_METHOD = "1"
  Bit mask for ObjectStreamClass flag.
publicfinalstatic short STREAM_MAGIC = "-21267"
Magic number that is written to the stream header.
publicfinalstatic short STREAM_VERSION = "5"
Version number that is written to the stream header.
publicfinalstatic SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION
  Enable overriding of readObject and writeObject.
publicfinalstatic SerializablePermission SUBSTITUTION_PERMISSION
  Enable substitution of one object for another during serialization/deserialization.
publicfinalstatic byte TC_ARRAY = "117"
new Array.
publicfinalstatic byte TC_BASE = "112"
First tag value.
publicfinalstatic byte TC_BLOCKDATA = "119"
  Block of optional data.
publicfinalstatic byte TC_BLOCKDATALONG = "122"
  long Block data.
publicfinalstatic byte TC_CLASS = "118"
Reference to Class.
publicfinalstatic byte TC_CLASSDESC = "114"
new Class Descriptor.
publicfinalstatic byte TC_ENDBLOCKDATA = "120"
End of optional block data blocks for an object.
publicfinalstatic byte TC_ENUM = "126"
  new Enum constant.
publicfinalstatic byte TC_EXCEPTION = "123"
Exception during write.
publicfinalstatic byte TC_LONGSTRING = "124"
Long string.
publicfinalstatic byte TC_MAX = "126"
Last tag value.
publicfinalstatic byte TC_NULL = "112"
Null object reference.
publicfinalstatic byte TC_OBJECT = "115"
new Object.
publicfinalstatic byte TC_PROXYCLASSDESC = "125"
new Proxy Class Descriptor.
publicfinalstatic byte TC_REFERENCE = "113"
Reference to an object already written into the stream.
publicfinalstatic byte TC_RESET = "121"
  Reset stream context.
publicfinalstatic byte TC_STRING = "116"
new String.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar