Class BooleanConverter

java.lang.Object
com.beust.jcommander.converters.BaseConverter<Boolean>
com.beust.jcommander.converters.BooleanConverter
All Implemented Interfaces:
IStringConverter<Boolean>

public class BooleanConverter extends BaseConverter<Boolean>
Converts a string to a boolean.
  • Constructor Details

    • BooleanConverter

      public BooleanConverter(String optionName)
  • Method Details

    • convert

      public Boolean convert(String value)
      Returns:
      an object of type T created from the parameter value.