java.lang.Object | |
↳ | java.io.ObjectStreamClass |
Represents a descriptor for identifying a class during serialization and deserialization. Information contained in the descriptor includes the name and SUID of the class as well as field names and types. Information inherited from the superclasses is also taken into account.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
NO_FIELDS | Constant indicating that the class has no Serializable fields. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns the class (java.lang.Class) for this descriptor.
|
||||||||||
|
Gets a field descriptor of the class represented by this class
descriptor.
|
||||||||||
|
Returns a collection of field descriptors for the serialized fields of
the class represented by this class descriptor.
|
||||||||||
|
Returns the name of the class represented by this descriptor.
|
||||||||||
|
Returns the Serial Version User ID of the class represented by this
descriptor.
|
||||||||||
|
Returns the descriptor for a serializable class.
|
||||||||||
|
Returns the descriptor for any class, whether or not the class
implements Serializable or Externalizable.
|
||||||||||
|
Returns a string containing a concise, human-readable description of this
descriptor.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constant indicating that the class has no Serializable fields.
Returns the class (java.lang.Class) for this descriptor.
null
if there is no corresponding class.
Gets a field descriptor of the class represented by this class descriptor.
name | the name of the desired field. |
---|
name
or
null
if there is
no such field.
Returns a collection of field descriptors for the serialized fields of the class represented by this class descriptor.
Returns the name of the class represented by this descriptor.
Returns the Serial Version User ID of the class represented by this descriptor.
Returns the descriptor for a serializable class.
Returns null if the class doesn't implement
Serializable
or
Externalizable
.
cl | a java.lang.Class for which to obtain the corresponding descriptor |
---|
Returns the descriptor for any class, whether or not the class implements Serializable or Externalizable.
cl | a java.lang.Class for which to obtain the corresponding descriptor |
---|
Returns a string containing a concise, human-readable description of this descriptor.