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 BooleanConverter
INSTANCE
The converter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
fromString(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,false
is returned.- Specified by:
fromString
in interfaceConverter<Boolean>
- Parameters:
value
- the value- Returns:
- the boolean object
-
-