|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Class ObjectStreamClass
java.io.ObjectStreamClass
All Implemented Interfaces:
public class ObjectStreamClass
Since:
1.1
Author:
Mike Warres, Roger Riggs
See Also:
Field Summary |
|
serialPersistentFields value indicating no serializable fields
|
Method Summary |
|
Return the class in the local VM that this version is mapped to.
|
|
Get the field of this class by name.
|
|
Return an array of the fields of this serializable class.
|
|
Returns the name of the class described by this descriptor.
|
long |
Return the serialVersionUID for this class.
|
|
Find the descriptor for a class that can be serialized.
|
|
Returns the descriptor for any class, regardless of whether it
implements Serializable.
|
|
Return a string describing this ObjectStreamClass.
|
Methods inherited from class java.lang. Object |
|
serialPersistentFields value indicating no serializable fields
Find the descriptor for a class that can be serialized. Creates an
ObjectStreamClass instance if one does not exist yet for class. Null is
returned if the specified class does not implement java.io.Serializable
or java.io.Externalizable.
Parameters:
cl - class for which to get the descriptor
Returns:
the class descriptor for the specified class
Returns the descriptor for any class, regardless of whether it
implements
Serializable.
Parameters:
cl - class for which to get the descriptor
Returns:
the class descriptor for the specified class
Since:
1.6
Returns the name of the class described by this descriptor.
This method returns the name of the class in the format that
is used by the
Class.getName() method.
Returns:
a string representing the name of the class
public long getSerialVersionUID |
() |
Return the serialVersionUID for this class. The serialVersionUID
defines a set of classes all with the same name that have evolved from a
common root class and agree to be serialized and deserialized using a
common format. NonSerializable classes have a serialVersionUID of 0L.
Returns:
the SUID of the class described by this descriptor
Return the class in the local VM that this version is mapped to. Null
is returned if there is no corresponding local class.
Returns:
the Class instance that this descriptor represents
Return an array of the fields of this serializable class.
Returns:
an array containing an element for each persistent field of
this class. Returns an array of length zero if there are no
fields.
Since:
1.2
Get the field of this class by name.
Parameters:
name - the name of the data field to look for
Returns:
The ObjectStreamField object of the named field or null if
there is no such named field.
Return a string describing this ObjectStreamClass.
Overrides:
Returns:
a string representation of the object.
|
FlexDoc/Javadoc 2.0 Demo Java Doc |
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch,
FlexDoc/Javadoc may be the only tool able to help you! Find out more at
www.flexdoc.xyz