Top Description Constructors Methods
com.beust.jcommander.converters

public Class FloatConverter

extends BaseConverter<Float>
Class Inheritance
Imports
com.beust.jcommander.ParameterException

Convert a string to a float.
Author
acornejo

Constructor Summary

AccessConstructor and Description
public
FloatConverter(String optionName)

Method Summary

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

Constructor Detail

FloatConverterback to summary
public FloatConverter(String optionName)

Method Detail

convertback to summary
public Float convert(String value)

Implements com.beust.jcommander.IStringConverter.convert.

Returns:Float

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

an object of type T created from the parameter value.