Class IntegerConverter

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

public class IntegerConverter extends BaseConverter<Integer>
Convert a string to an integer.
  • Constructor Details

    • IntegerConverter

      public IntegerConverter(String optionName)
  • Method Details

    • convert

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