public static class CmdLineParser.Option.StringOption extends CmdLineParser.Option<String>
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption| Constructor and Description |
|---|
StringOption(char shortForm,
String longForm) |
StringOption(String longForm) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
parseValue(String arg,
Locale locale)
Override to extract and convert an option value passed on the command-line
|
getDefaultValue, getValue, longForm, shortForm, wantsValuepublic StringOption(char shortForm,
String longForm)
public StringOption(String longForm)
protected String parseValue(String arg, Locale locale)
CmdLineParser.OptionparseValue in class CmdLineParser.Option<String>Copyright © 2019 David R. Smith. All rights reserved.