java.lang.Object
org.csveed.bean.conversion.AbstractConverter<Boolean>
org.csveed.bean.conversion.CustomBooleanConverter
The Class CustomBooleanConverter.
-
Field Summary
FieldsModifier 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
ConstructorsConstructorDescriptionCustomBooleanConverter
(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
The Constant VALUE_TRUE.- See Also:
-
VALUE_FALSE
The Constant VALUE_FALSE.- See Also:
-
VALUE_SHORT_TRUE
The Constant VALUE_SHORT_TRUE.- See Also:
-
VALUE_SHORT_FALSE
The Constant VALUE_SHORT_FALSE.- See Also:
-
VALUE_ON
The Constant VALUE_ON.- See Also:
-
VALUE_OFF
The Constant VALUE_OFF.- See Also:
-
VALUE_YES
The Constant VALUE_YES.- See Also:
-
VALUE_NO
The Constant VALUE_NO.- See Also:
-
VALUE_SHORT_YES
The Constant VALUE_SHORT_YES.- See Also:
-
VALUE_SHORT_NO
The Constant VALUE_SHORT_NO.- See Also:
-
VALUE_1
The Constant VALUE_1.- See Also:
-
VALUE_0
The Constant VALUE_0.- See Also:
-
-
Constructor Details
-
CustomBooleanConverter
public CustomBooleanConverter(boolean allowEmpty) Instantiates a new custom boolean converter.- Parameters:
allowEmpty
- the allow empty
-
CustomBooleanConverter
Instantiates a new custom boolean converter.- Parameters:
trueString
- the true stringfalseString
- the false stringallowEmpty
- the allow empty
-
-
Method Details