java.lang.Object
org.csveed.bean.conversion.AbstractConverter<Boolean>
org.csveed.bean.conversion.CustomBooleanConverter
The Class CustomBooleanConverter.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The Constant VALUE_0.static final String
The Constant VALUE_1.static final String
The Constant VALUE_FALSE.static final String
The Constant VALUE_NO.static final String
The Constant VALUE_OFF.static final String
The Constant VALUE_ON.static final String
The Constant VALUE_SHORT_FALSE.static final String
The Constant VALUE_SHORT_NO.static final String
The Constant VALUE_SHORT_TRUE.static final String
The Constant VALUE_SHORT_YES.static final String
The Constant VALUE_TRUE.static final String
The Constant VALUE_YES. -
Constructor Summary
ConstructorDescriptionCustomBooleanConverter
(boolean allowEmpty) Instantiates a new custom boolean converter.CustomBooleanConverter
(String trueString, String falseString, boolean allowEmpty) Instantiates a new custom boolean converter. -
Method Summary
Methods inherited from class org.csveed.bean.conversion.AbstractConverter
getType, infoOnType
-
Field Details
-
VALUE_TRUE
-
VALUE_FALSE
-
VALUE_SHORT_TRUE
-
VALUE_SHORT_FALSE
-
VALUE_ON
-
VALUE_OFF
-
VALUE_YES
-
VALUE_NO
-
VALUE_SHORT_YES
-
VALUE_SHORT_NO
-
VALUE_1
-
VALUE_0
-
-
Constructor Details
-
CustomBooleanConverter
public CustomBooleanConverter(boolean allowEmpty) Instantiates a new custom boolean converter.- Parameters:
allowEmpty
- the allow empty
-
CustomBooleanConverter
-
-
Method Details
-
fromString
-
toString
-