public static class Converters.BooleanConverter extends java.lang.Object implements Converter<java.lang.Boolean>
Constructor and Description |
---|
BooleanConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
convert(java.lang.String input)
Convert a string into type T.
|
java.lang.String |
getTypeDescription()
The type description appears in usage messages.
|
public java.lang.Boolean convert(java.lang.String input) throws OptionsParsingException
Converter
convert
in interface Converter<java.lang.Boolean>
OptionsParsingException
public java.lang.String getTypeDescription()
Converter
getTypeDescription
in interface Converter<java.lang.Boolean>