org.milyn.javabean.decoders
Class SqlTimestampDecoder
java.lang.Object
org.milyn.javabean.decoders.LocaleAwareDecoder
org.milyn.javabean.decoders.LocaleAwareDateDecoder
org.milyn.javabean.decoders.DateDecoder
org.milyn.javabean.decoders.SqlTimestampDecoder
- All Implemented Interfaces:
- Serializable, Configurable, DataDecoder, DataEncoder
@DecodeType(value=java.sql.Timestamp.class)
public class SqlTimestampDecoder
- extends DateDecoder
Timestamp data decoder.
Extends DateDecoder and returns
a java.sql.Timestamp instance.
- Author:
- maurice.zeijen@smies.com
- See Also:
- Serialized Form
|
Method Summary |
Object |
decode(String data)
Decode the supplied String data into a new Object data instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlTimestampDecoder
public SqlTimestampDecoder()
decode
public Object decode(String data)
throws DataDecodeException
- Description copied from interface:
DataDecoder
- Decode the supplied String data into a new Object data instance.
- Specified by:
decode in interface DataDecoder- Overrides:
decode in class DateDecoder
- Parameters:
data - Data to be decoded.
- Returns:
- Decoded data Object.
- Throws:
DataDecodeException - Error decoding data.
Copyright © 2018. All rights reserved.