jargs.gnu

Class CmdLineParser.Option.IntegerOption

public static class CmdLineParser.Option.IntegerOption extends CmdLineParser.Option

An option that expects an integer value
Constructor Summary
IntegerOption(char shortForm, String longForm)
IntegerOption(String longForm)
Method Summary
protected ObjectparseValue(String arg, Locale locale)

Constructor Detail

IntegerOption

public IntegerOption(char shortForm, String longForm)

IntegerOption

public IntegerOption(String longForm)

Method Detail

parseValue

protected Object parseValue(String arg, Locale locale)
Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.