Class TimestampSerializer
- java.lang.Object
-
- net.sf.jasperreports.engine.virtualization.TimestampSerializer
-
- All Implemented Interfaces:
ObjectSerializer<Timestamp>
public class TimestampSerializer extends Object implements ObjectSerializer<Timestamp>
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description TimestampSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceType
defaultReferenceType()
boolean
defaultStoreReference()
Timestamp
read(VirtualizationInput in)
int
typeValue()
void
write(Timestamp value, VirtualizationOutput out)
-
-
-
Method Detail
-
typeValue
public int typeValue()
- Specified by:
typeValue
in interfaceObjectSerializer<Timestamp>
-
defaultReferenceType
public ReferenceType defaultReferenceType()
- Specified by:
defaultReferenceType
in interfaceObjectSerializer<Timestamp>
-
defaultStoreReference
public boolean defaultStoreReference()
- Specified by:
defaultStoreReference
in interfaceObjectSerializer<Timestamp>
-
write
public void write(Timestamp value, VirtualizationOutput out) throws IOException
- Specified by:
write
in interfaceObjectSerializer<Timestamp>
- Throws:
IOException
-
read
public Timestamp read(VirtualizationInput in) throws IOException
- Specified by:
read
in interfaceObjectSerializer<Timestamp>
- Throws:
IOException
-
-