Package net.jazdw.rql.converter
Class DefaultValueConverter.BooleanConverter
java.lang.Object
net.jazdw.rql.converter.DefaultValueConverter.BooleanConverter
- All Implemented Interfaces:
ValueConverter<Boolean>
- Enclosing class:
DefaultValueConverter
public static class DefaultValueConverter.BooleanConverter
extends Object
implements ValueConverter<Boolean>
DefaultValueConverter for booleans, case-insensitive.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BooleanConverter
public BooleanConverter()
-
-
Method Details
-
convert
Description copied from interface:ValueConverterConverts a string value to its Java representation- Specified by:
convertin interfaceValueConverter<Boolean>- Parameters:
textValue- e.g.trueorFALSE- Returns:
- converted value
-