public class ByteFormatter extends NumberFormatter
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MSG_KEY |
BIGDECIMAL, BIGDECIMAL_LZ, BOOLEAN, BYTE, DATE, DATE_LZ, DOUBLE, DOUBLE_LZ, EN_LOWER, EN_UPPER, FLOAT, FLOAT_LZ, INTEGER, INTEGER_LZ, INVARIANT_LOWER, INVARIANT_UPPER, LOCAL_DATE, LOCAL_DATE_LZ, LOCAL_DATETIME, LOCAL_DATETIME_LZ, LOCAL_DATETIME_MI, LOCAL_DATETIME_MILZ, LOCAL_TIME, LOCAL_TIME_MI, LONG, LONG_LZ, LOWER, OFFSET_DATETIME, OFFSET_DATETIME_LZ, OFFSET_DATETIME_MI, OFFSET_DATETIME_MILZ, OFFSET_TIME, OFFSET_TIME_MI, SHORT, SHORT_LZ, SINGLE_LINE, STRING, TIME, TIME_MI, TIMESTAMP, TIMESTAMP_LZ, TIMESTAMP_MI, TIMESTAMP_MILZ, TRIM_TO_EMPTY, UPPER| Constructor and Description |
|---|
ByteFormatter() |
ByteFormatter(boolean localized) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getArgType() |
String |
getErrorMsgKey() |
protected NumberFormat |
getLocalizedFormat(FormatProvider formatProvider) |
Byte |
parse(String str,
FormatProvider formatProvider) |
format, parsedOvfException, parseNumberpublic static final String ERROR_MSG_KEY
public ByteFormatter()
public ByteFormatter(boolean localized)
public String getErrorMsgKey()
public Class<?> getArgType()
protected NumberFormat getLocalizedFormat(FormatProvider formatProvider)
getLocalizedFormat in class NumberFormatterpublic Byte parse(String str, FormatProvider formatProvider) throws FormatterException
FormatterExceptionCopyright © 2019. All rights reserved.