Top Description Constructors Methods
com.beust.jcommander.converters

public Class BigDecimalConverter

extends BaseConverter<BigDecimal>
Class Inheritance
Imports
com.beust.jcommander.ParameterException, java.math.BigDecimal

Converts a String to a BigDecimal.
Author
Angus Smithson

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BigDecimal
Inherited from com.beust.jcommander.converters.BaseConverter:
getErrorStringgetOptionName

Constructor Detail

BigDecimalConverterback to summary
public BigDecimalConverter(String optionName)

Method Detail

convertback to summary
public BigDecimal convert(String value)

Implements com.beust.jcommander.IStringConverter.convert.

Returns:BigDecimal

Doc from com.beust.jcommander.IStringConverter.convert.

an object of type T created from the parameter value.