Top Description Constructors Methods
com.beust.jcommander.converters

public Class LongConverter

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

Convert a string to a long.
Author
cbeust

Constructor Summary

AccessConstructor and Description
public
LongConverter(String optionName)

Method Summary

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

Constructor Detail

LongConverterback to summary
public LongConverter(String optionName)

Method Detail

convertback to summary
public Long convert(String value)

Implements com.beust.jcommander.IStringConverter.convert.

Returns:Long

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

an object of type T created from the parameter value.