| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MSG_KEY |
static String |
VALUE_FALSE |
static String |
VALUE_TRUE |
BIGDECIMAL, BIGINTEGER, BOOLEAN, BYTE, CHARACTER, DOUBLE, FLOAT, INTEGER, LOCAL_DATE, LOCAL_DATETIME, LOCAL_DATETIME_24H, LOCAL_TIME, LOCAL_TIME_24H, LONG, OFFSET_DATETIME, OFFSET_DATETIME_24H, OFFSET_TIME, OFFSET_TIME_24H, SHORT, SQL_DATE, SQL_DATETIME, SQL_DATETIME_24H, SQL_TIME, SQL_TIME_24H| Constructor and Description |
|---|
BooleanFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Object obj,
FormatProvider formatProvider) |
Class<?> |
getArgumentType() |
String |
getErrorMsgKey() |
Boolean |
parse(String str,
FormatProvider formatProvider) |
public static final String ERROR_MSG_KEY
public static final String VALUE_TRUE
public static final String VALUE_FALSE
public String getErrorMsgKey()
getErrorMsgKey in class Formatterpublic Class<?> getArgumentType()
getArgumentType in class Formatterpublic String format(Object obj, FormatProvider formatProvider)
public Boolean parse(String str, FormatProvider formatProvider) throws FormatterException
parse in class FormatterFormatterExceptionCopyright © 2017. All rights reserved.