Java Doc for ObjectStreamConstants.java in  » 6.0-JDK-Modules » j2me » java » io » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » java.io 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.io.ObjectStreamConstants

All known Subclasses:   java.io.ObjectOutputStream,  java.io.ObjectInputStream,
ObjectStreamConstants
public interface ObjectStreamConstants (Code)
Constants written into the Object Serialization Stream.
author:
   unascribed
version:
   1.29, 02/02/00
since:
   JDK 1.1


Field Summary
final public static  intPROTOCOL_VERSION_1
     A Stream Protocol Version.
final public static  intPROTOCOL_VERSION_2
     A Stream Protocol Version.
final static  byteSC_BLOCK_DATA
     Bit mask for ObejctStreamClass flag.
final static  byteSC_EXTERNALIZABLE
     Bit mask for ObjectStreamClass flag.
final static  byteSC_SERIALIZABLE
     Bit mask for ObjectStreamClass flag.
final static  byteSC_WRITE_METHOD
     Bit mask for ObjectStreamClass flag.
final static  shortSTREAM_MAGIC
     Magic number that is written to the stream header.
final static  shortSTREAM_VERSION
     Version number that is written to the stream header.
final static  SerializablePermissionSUBCLASS_IMPLEMENTATION_PERMISSION
     Enable overriding of readObject and writeObject.
final static  SerializablePermissionSUBSTITUTION_PERMISSION
     Enable substitution of one object for another during serialization/deserialization.
final static  byteTC_ARRAY
     new Array.
final static  byteTC_BASE
     First tag value.
final static  byteTC_BLOCKDATA
     Block of optional data.
final static  byteTC_BLOCKDATALONG
     long Block data.
final static  byteTC_CLASS
     Reference to Class.
final static  byteTC_CLASSDESC
     new Class Descriptor.
final static  byteTC_ENDBLOCKDATA
     End of optional block data blocks for an object.
final static  byteTC_EXCEPTION
     Exception during write.
final static  byteTC_LONGSTRING
     Long string.
final static  byteTC_MAX
     Last tag value.
final static  byteTC_NULL
     Null object reference.
final static  byteTC_OBJECT
     new Object.
final static  byteTC_PROXYCLASSDESC
     new Proxy Class Descriptor.
final static  byteTC_REFERENCE
     Reference to an object already written into the stream.
final static  byteTC_RESET
     Reset stream context.
final static  byteTC_STRING
     new String.
final static  intbaseWireHandle
     First wire handle to be assigned.



Field Detail
PROTOCOL_VERSION_1
final public static int PROTOCOL_VERSION_1(Code)
A 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.
See Also:   java.io.ObjectOutputStream.useProtocolVersion(int)
since:
   1.2




PROTOCOL_VERSION_2
final public static int PROTOCOL_VERSION_2(Code)
A 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.
See Also:   java.io.ObjectOutputStream.useProtocolVersion(int)
See Also:   ObjectStreamConstants.SC_BLOCK_DATA
since:
   1.2




SC_BLOCK_DATA
final static byte SC_BLOCK_DATA(Code)
Bit mask for ObejctStreamClass flag. Indicates Externalizable data written in Block Data mode. Added for PROTOCOL_VERSION_2.
See Also:   ObjectStreamConstants.PROTOCOL_VERSION_2
since:
   1.2



SC_EXTERNALIZABLE
final static byte SC_EXTERNALIZABLE(Code)
Bit mask for ObjectStreamClass flag. Indicates class is Externalizable.



SC_SERIALIZABLE
final static byte SC_SERIALIZABLE(Code)
Bit mask for ObjectStreamClass flag. Indicates class is Serializable.



SC_WRITE_METHOD
final static byte SC_WRITE_METHOD(Code)
Bit mask for ObjectStreamClass flag. Indicates a Serializable class defines its own writeObject method.



STREAM_MAGIC
final static short STREAM_MAGIC(Code)
Magic number that is written to the stream header.



STREAM_VERSION
final static short STREAM_VERSION(Code)
Version number that is written to the stream header.



SUBCLASS_IMPLEMENTATION_PERMISSION
final static SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION(Code)
Enable overriding of readObject and writeObject.
See Also:   java.io.ObjectOutputStream.writeObjectOverride(Object)
See Also:   java.io.ObjectInputStream.readObjectOverride
since:
   1.2



SUBSTITUTION_PERMISSION
final static SerializablePermission SUBSTITUTION_PERMISSION(Code)
Enable substitution of one object for another during serialization/deserialization.
See Also:   java.io.ObjectOutputStream.enableReplaceObject(boolean)
See Also:   java.io.ObjectInputStream.enableResolveObject(boolean)
since:
   1.2



TC_ARRAY
final static byte TC_ARRAY(Code)
new Array.



TC_BASE
final static byte TC_BASE(Code)
First tag value.



TC_BLOCKDATA
final static byte TC_BLOCKDATA(Code)
Block of optional data. Byte following tag indicates number of bytes in this block data.



TC_BLOCKDATALONG
final static byte TC_BLOCKDATALONG(Code)
long Block data. The long following the tag indicates the number of bytes in this block data.



TC_CLASS
final static byte TC_CLASS(Code)
Reference to Class.



TC_CLASSDESC
final static byte TC_CLASSDESC(Code)
new Class Descriptor.



TC_ENDBLOCKDATA
final static byte TC_ENDBLOCKDATA(Code)
End of optional block data blocks for an object.



TC_EXCEPTION
final static byte TC_EXCEPTION(Code)
Exception during write.



TC_LONGSTRING
final static byte TC_LONGSTRING(Code)
Long string.



TC_MAX
final static byte TC_MAX(Code)
Last tag value.



TC_NULL
final static byte TC_NULL(Code)
Null object reference.



TC_OBJECT
final static byte TC_OBJECT(Code)
new Object.



TC_PROXYCLASSDESC
final static byte TC_PROXYCLASSDESC(Code)
new Proxy Class Descriptor.



TC_REFERENCE
final static byte TC_REFERENCE(Code)
Reference to an object already written into the stream.



TC_RESET
final static byte TC_RESET(Code)
Reset stream context. All handles written into stream are reset.



TC_STRING
final static byte TC_STRING(Code)
new String.



baseWireHandle
final static int baseWireHandle(Code)
First wire handle to be assigned.





www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.