com.beust.jcommander.converters
Class FloatConverter
java.lang.Object
com.beust.jcommander.converters.BaseConverter<Float>
com.beust.jcommander.converters.FloatConverter
- All Implemented Interfaces:
- IStringConverter<Float>
public class FloatConverter
- extends BaseConverter<Float>
Convert a string to a float.
- Author:
- acornejo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatConverter
public FloatConverter(String optionName)
convert
public Float convert(String value)
- Returns:
- an object of type created from the parameter value.
Copyright © 2012. All Rights Reserved.