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() |
getNumberFormatconvertToString, parsenewConversionException, parsepublic static final IConverter<Byte> INSTANCE
public Byte 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<Byte> getTargetType()
getTargetType in class AbstractConverter<Byte>AbstractConverter.getTargetType()Copyright © 2006–2015 Apache Software Foundation. All rights reserved.