|
Préférences
Moteurs de recherche
|
||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
javax.sql.rowset.serial
|
Constructor Summary | |
---|---|
SerialJavaObject(Object obj)
Constructor for SerialJavaObject helper class. |
Method Summary | |
---|---|
Field[] |
getFields()
Returns an array of Field objects that contains each
field of the object that this helper class is serializing. |
Object |
getObject()
Returns an Object that is a copy of this SerialJavaObject
object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerialJavaObject(Object obj) throws SerialException
SerialJavaObject
helper class.
obj
- the Java Object
to be serialized
SerialException
- if the object is found
to be unserializableMethod Detail |
---|
public Object getObject() throws SerialException
Object
that is a copy of this SerialJavaObject
object.
SerialJavaObject
object as an
Object
in the Java programming language
SerialException
- if the instance is corruptpublic Field[] getFields() throws SerialException
Field
objects that contains each
field of the object that this helper class is serializing.
Field
objects
SerialException
- if an error is encountered accessing
the serialized object