|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.util.serializers.Rectangle2DSerializer
A SerializeMethod implementation that handles Rectangle2D objects.
Rectangle2D
Constructor Summary | |
Rectangle2DSerializer()
Default Constructor. |
Method Summary | |
java.lang.Class |
getObjectClass()
Returns the class of the object, which this object can serialize. |
java.lang.Object |
readObject(java.io.ObjectInputStream in)
Reads the object from the object input stream. |
void |
writeObject(java.lang.Object o,
java.io.ObjectOutputStream out)
Writes a serializable object description to the given object output stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Rectangle2DSerializer()
Method Detail |
public void writeObject(java.lang.Object o, java.io.ObjectOutputStream out) throws java.io.IOException
writeObject
in interface SerializeMethod
o
- the to be serialized object.out
- the outputstream that should receive the object.
java.io.IOException
- if an I/O error occured.public java.lang.Object readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
readObject
in interface SerializeMethod
in
- the object input stream from where to read the serialized data.
java.io.IOException
- if reading the stream failed.
java.lang.ClassNotFoundException
- if serialized object class cannot be found.public java.lang.Class getObjectClass()
getObjectClass
in interface SerializeMethod
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |