org.apache.wicket.util.convert.converter
Class SqlTimeConverter
java.lang.Object
org.apache.wicket.util.convert.converter.AbstractConverter<Time>
org.apache.wicket.util.convert.converter.SqlTimeConverter
- All Implemented Interfaces:
- Serializable, IClusterable, IConverter<Time>
public class SqlTimeConverter
- extends AbstractConverter<Time>
Converts to Time.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlTimeConverter
public SqlTimeConverter()
convertToObject
public Time convertToObject(String value,
Locale locale)
- Description copied from interface:
IConverter
- Converts the given
String value
- Parameters:
value - The string value to convertlocale - The locale used to convert the value
- Returns:
- The converted value
- See Also:
DateConverter.convertToObject(java.lang.String,java.util.Locale)
convertToString
public String convertToString(Time time,
Locale locale)
- Description copied from interface:
IConverter
- Converts the given value to a string.
- Specified by:
convertToString in interface IConverter<Time>- Overrides:
convertToString in class AbstractConverter<Time>
- Parameters:
time - The value to convertlocale - The locale used to convert the value
- Returns:
- The converted string value
- See Also:
IConverter.convertToString(java.lang.Object, Locale)
getTargetType
protected Class<Time> getTargetType()
- Specified by:
getTargetType in class AbstractConverter<Time>
- Returns:
- The target type of this type converter
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.