org.pentaho.reporting.libraries.serializer.methods
public class BasicStrokeSerializer extends Object implements SerializeMethod
See Also: BasicStroke
Constructor Summary | |
---|---|
BasicStrokeSerializer()
Default Constructor. |
Method Summary | |
---|---|
Class | getObjectClass()
The class of the object, which this object can serialize.
|
Object | readObject(ObjectInputStream stream)
Reads the object from the object input stream.
|
void | writeObject(Object o, ObjectOutputStream stream)
Writes a serializable object description to the given object output stream.
|
Returns: the class java.awt.BasicStroke
.
Parameters: stream 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. stream the outputstream that should receive the object.
Throws: IOException if an I/O error occured.