java.lang.Object
org.apache.wicket.util.convert.converter.AbstractConverter<N>
org.apache.wicket.util.convert.converter.AbstractNumberConverter<I>
org.apache.wicket.util.convert.converter.AbstractIntegerConverter<Long>
org.apache.wicket.util.convert.converter.LongConverter
- All Implemented Interfaces:
Serializable
,IConverter<Long>
,IClusterable
Converts from Object to Long.
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IConverter<Long>
The singleton instance for a long converter -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToObject
(String value, Locale locale) Converts the givenString
valueMethods inherited from class org.apache.wicket.util.convert.converter.AbstractIntegerConverter
newNumberFormat
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractNumberConverter
convertToString, getNumberFormat, parse
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractConverter
newConversionException, parse
-
Field Details
-
INSTANCE
The singleton instance for a long converter
-
-
Constructor Details
-
LongConverter
public LongConverter()
-
-
Method Details
-
convertToObject
Description copied from interface:IConverter
Converts the givenString
value- Parameters:
value
- The string value to convertlocale
- The locale used to convert the value- Returns:
- The converted value
- See Also:
-
getTargetType
- Specified by:
getTargetType
in classAbstractConverter<Long>
- Returns:
- The target type of this type converter
- See Also:
-