jargs.examples.gnu
Class CustomOptionTest.ShortDateOption
java.lang.Object
jargs.gnu.CmdLineParser.Option
jargs.examples.gnu.CustomOptionTest.ShortDateOption
- Enclosing class:
- CustomOptionTest
public static class CustomOptionTest.ShortDateOption
- extends CmdLineParser.Option
A custom type of command line option corresponding to a short
date value, e.g. .
Method Summary |
protected Object |
parseValue(String arg,
Locale locale)
Override to extract and convert an option value passed on the
command-line |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomOptionTest.ShortDateOption
public CustomOptionTest.ShortDateOption(char shortForm,
String longForm)
parseValue
protected Object parseValue(String arg,
Locale locale)
throws CmdLineParser.IllegalOptionValueException
- Description copied from class:
CmdLineParser.Option
- Override to extract and convert an option value passed on the
command-line
- Overrides:
parseValue
in class CmdLineParser.Option
- Throws:
CmdLineParser.IllegalOptionValueException
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.