com.beust.jcommander.converters
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.
- Author:
- Angus Smithson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigDecimalConverter
public BigDecimalConverter(String optionName)
convert
public BigDecimal convert(String value)
- Returns:
- an object of type created from the parameter value.
Copyright © 2012. All Rights Reserved.