Class BigDecimalConverter

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

public class BigDecimalConverter extends BaseConverter<BigDecimal>
Converts a String to a BigDecimal.
  • Constructor Details

    • BigDecimalConverter

      public BigDecimalConverter(String optionName)
  • Method Details

    • convert

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