public class CharacterConverter extends AbstractConverter<Character>
Modifier and Type | Field and Description |
---|---|
static IConverter<Character> |
INSTANCE
The singleton instance for a character converter
|
Constructor and Description |
---|
CharacterConverter() |
Modifier and Type | Method and Description |
---|---|
Character |
convertToObject(String value,
Locale locale)
Converts the given
String value |
protected Class<Character> |
getTargetType() |
convertToString, newConversionException, parse
public static final IConverter<Character> INSTANCE
public Character convertToObject(String value, Locale locale)
IConverter
String
valuevalue
- The string value to convertlocale
- The locale used to convert the valueIConverter.convertToObject(java.lang.String,Locale)
protected Class<Character> getTargetType()
getTargetType
in class AbstractConverter<Character>
AbstractConverter.getTargetType()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.