Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.io.ObjectStreamClass

java.lang.Object
   |
   +----java.io.ObjectStreamClass

public class ObjectStreamClass
extends Object
implements Serializable
A ObjectStreamClass describes a class that can be serialized to a stream or a class that was serialized to a stream. It contains the name and the serialVersionUID of the class.
The ObjectStreamClass for a specific class loaded in this Java VM can be found using the lookup method.


Method Index

 o forClass()
Return the class in the local VM that this version is mapped to.
 o getName()
The name of the class described by this descriptor.
 o getSerialVersionUID()
Return the serialVersionUID for this class.
 o lookup(Class)
Find the descriptor for a class that can be serialized.
 o toString()
Return a string describing this ObjectStreamClass.

Methods

 o lookup
 public static ObjectStreamClass lookup(Class cl)
Find the descriptor for a class that can be serialized. Null is returned if the specified class does not implement java.io.Serializable or java.io.Externalizable.

 o getName
 public String getName()
The name of the class described by this descriptor.

 o getSerialVersionUID
 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.

 o forClass
 public Class forClass()
Return the class in the local VM that this version is mapped to. Null is returned if there is no corresponding local class.

 o toString
 public String toString()
Return a string describing this ObjectStreamClass.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Submit a bug or feature


With any suggestions or questions please feel free to contact us