org.apache.wicket.util.convert.converters
Class SqlTimestampConverter

java.lang.Object
  extended by org.apache.wicket.util.convert.converters.SqlTimestampConverter
All Implemented Interfaces:
java.io.Serializable, IClusterable, IConverter

public class SqlTimestampConverter
extends java.lang.Object
implements IConverter

Converts to Timestamp.

Author:
eelcohillenius
See Also:
Serialized Form

Constructor Summary
SqlTimestampConverter()
           
 
Method Summary
 java.lang.Object convertToObject(java.lang.String value, java.util.Locale locale)
          Converts the given String value
 java.lang.String convertToString(java.lang.Object value, java.util.Locale locale)
          Converts the given value to a string.
protected  java.lang.Class getTargetType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlTimestampConverter

public SqlTimestampConverter()
Method Detail

convertToObject

public java.lang.Object convertToObject(java.lang.String value,
                                        java.util.Locale locale)
Description copied from interface: IConverter
Converts the given String value

Specified by:
convertToObject in interface IConverter
Parameters:
value - The string value to convert
locale - The locale used to convert the value
Returns:
The converted value
See Also:
DateConverter.convertToObject(java.lang.String,java.util.Locale)

convertToString

public java.lang.String convertToString(java.lang.Object value,
                                        java.util.Locale locale)
Description copied from interface: IConverter
Converts the given value to a string.

Specified by:
convertToString in interface IConverter
Parameters:
value - The value to convert
locale - The locale used to convert the value
Returns:
The converted string value

getTargetType

protected java.lang.Class getTargetType()


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.