public class ShortConverter extends AbstractIntegerConverter<Short>
| Modifier and Type | Field and Description |
|---|---|
static IConverter<Short> |
INSTANCE
The singleton instance for a short converter
|
| Constructor and Description |
|---|
ShortConverter() |
| Modifier and Type | Method and Description |
|---|---|
Short |
convertToObject(String value,
Locale locale)
Converts the given
String value |
protected Class<Short> |
getTargetType() |
newNumberFormatconvertToString, getNumberFormat, parsenewConversionException, parsepublic static final IConverter<Short> INSTANCE
public Short 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<Short> getTargetType()
getTargetType in class AbstractConverter<Short>AbstractConverter.getTargetType()Copyright © 2006–2020 Apache Software Foundation. All rights reserved.