org.pentaho.reporting.libraries.serializer.methods
public class Rectangle2DSerializer extends Object implements SerializeMethod
See Also: java.awt.geom.Rectangle2D
Constructor Summary | |
---|---|
Rectangle2DSerializer()
Default Constructor. |
Method Summary | |
---|---|
Class | getObjectClass()
Returns the class of the object, which this object can serialize.
|
Object | readObject(ObjectInputStream in)
Reads the object from the object input stream.
|
void | writeObject(Object o, ObjectOutputStream out)
Writes a serializable object description to the given object output stream.
|
Returns: the class of java.awt.geom.Rectangle2D.
Parameters: in the object input stream from where to read the serialized data.
Returns: the generated object.
Throws: IOException if reading the stream failed. ClassNotFoundException if serialized object class cannot be found.
Parameters: o the to be serialized object. out the outputstream that should receive the object.
Throws: IOException if an I/O error occured.