Package io.vertx.core.cli.converters
Class BooleanConverter
- java.lang.Object
-
- io.vertx.core.cli.converters.BooleanConverter
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanConverterINSTANCEThe converter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanfromString(String value)Creates the boolean value from the given String.
-
-
-
Field Detail
-
INSTANCE
public static final BooleanConverter INSTANCE
The converter.
-
-
Method Detail
-
fromString
public Boolean fromString(String value)
Creates the boolean value from the given String. If the given String does not match one of the 'true' value,falseis returned.- Specified by:
fromStringin interfaceConverter<Boolean>- Parameters:
value- the value- Returns:
- the boolean object
-
-