public class LongConverter extends AbstractIntegerConverter<Long>
| Modifier and Type | Field and Description |
|---|---|
static IConverter<Long> |
INSTANCE
The singleton instance for a long converter
|
| Constructor and Description |
|---|
LongConverter() |
| Modifier and Type | Method and Description |
|---|---|
Long |
convertToObject(String value,
Locale locale)
Converts the given
String value |
protected Class<Long> |
getTargetType() |
newNumberFormatconvertToString, getNumberFormat, parsenewConversionException, parsepublic static final IConverter<Long> INSTANCE
public Long convertToObject(String value, Locale locale)
IConverterString valuevalue - The string value to convertlocale - The locale used to convert the valueIConverter.convertToObject(java.lang.String,Locale)protected Class<Long> getTargetType()
getTargetType in class AbstractConverter<Long>AbstractConverter.getTargetType()Copyright © 2006–2021 Apache Software Foundation. All rights reserved.