Class LongConverter

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

public class LongConverter extends BaseConverter<Long>
Convert a string to a long.
  • Constructor Details

    • LongConverter

      public LongConverter(String optionName)
  • Method Details

    • convert

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