Package com.beust.jcommander.converters
Class BooleanConverter
java.lang.Object
com.beust.jcommander.converters.BaseConverter<Boolean>
com.beust.jcommander.converters.BooleanConverter
- All Implemented Interfaces:
IStringConverter<Boolean>
Converts a string to a boolean.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.beust.jcommander.converters.BaseConverter
getErrorString, getOptionName
-
Constructor Details
-
BooleanConverter
-
-
Method Details
-
convert
- Returns:
- an object of type T created from the parameter value.
-