org.apache.wicket.util.convert.converters
Class LongConverter
java.lang.Object
org.apache.wicket.util.convert.converters.AbstractConverter
org.apache.wicket.util.convert.converters.AbstractNumberConverter
org.apache.wicket.util.convert.converters.AbstractIntegerConverter
org.apache.wicket.util.convert.converters.LongConverter
- All Implemented Interfaces:
- Serializable, IClusterable, IConverter
public class LongConverter
- extends AbstractIntegerConverter
Converts from Object to Long.
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final IConverter INSTANCE
- The singleton instance for a long converter
LongConverter
public LongConverter()
convertToObject
public Long 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:
IConverter.convertToObject(java.lang.String,Locale)
getTargetType
protected Class<Long> getTargetType()
- Specified by:
getTargetType
in class AbstractConverter
- Returns:
- The target type of this type converter
- See Also:
AbstractConverter.getTargetType()
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.