public class ByteConverter extends AbstractIntegerConverter<Byte>
Modifier and Type | Field and Description |
---|---|
static IConverter<Byte> |
INSTANCE
The singleton instance for a byte converter
|
Constructor and Description |
---|
ByteConverter() |
Modifier and Type | Method and Description |
---|---|
Byte |
convertToObject(String value,
Locale locale)
Converts the given
String value |
protected Class<Byte> |
getTargetType() |
newNumberFormat
convertToString, getNumberFormat, parse
newConversionException, parse
public static final IConverter<Byte> INSTANCE
public Byte 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<Byte> getTargetType()
getTargetType
in class AbstractConverter<Byte>
AbstractConverter.getTargetType()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.