public class ByteTypeHandler extends NumberTypeHandler
DecimalFormatlocaleFORMAT_SETTINGNIL| Constructor and Description | 
|---|
ByteTypeHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Byte | 
createNumber(BigDecimal bg)
Parses a Number from a BigDecimal. 
 | 
protected Byte | 
createNumber(String text)
Parses a Number from text. 
 | 
Class<?> | 
getType()
Returns the class type supported by this handler. 
 | 
createDecimalFormat, format, getPattern, newInstance, parse, setPatterngetLocale, setLocaleprotected Byte createNumber(String text) throws NumberFormatException
NumberTypeHandlercreateNumber in class NumberTypeHandlertext - the text to convert to a NumberNumberFormatException - if the text is not a valid numberprotected Byte createNumber(BigDecimal bg) throws ArithmeticException
NumberTypeHandlercreateNumber in class NumberTypeHandlerbg - the BigDecimal version of the numberArithmeticException - if the BigDecimal cannot be converted
   to the Number type supported by this handlerpublic Class<?> getType()
TypeHandler