KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > io > ObjectStreamClass

java.io
Class ObjectStreamClass

java.lang.Object
  extended by java.io.ObjectStreamClass
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code, ObjectStreamField

public Class<?> forClass()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ObjectStreamField getField(String name)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ObjectStreamField[] getFields()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getName()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public long getSerialVersionUID()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1936]Getting a SerialversionUID from a class
By asterios { dot } raptis { at } gmx { dot } net on 2007/10/31 05:10:04  Rate
Class clazz = net.sourceforge.jaulp.io.SerializedObjectUtils; 
 long serialVersionUID = ObjectStreamClass.lookup ( clazz ) .getSerialVersionUID (  ) ; 
 System.out.println ( "serialVersionUID: "+serialVersionUID  ) ;


public static ObjectStreamClass lookup(Class<?> cl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final ObjectStreamField[] NO_FIELDS
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags