public class AbstractStringOption extends CommandLineOption<java.lang.String>
| Constructor and Description |
|---|
AbstractStringOption(java.lang.String option,
java.lang.String argName,
java.lang.String helpText) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Returns the parsed value of this option.
|
protected void |
parseValue(java.lang.String value)
Parses and stores the given value from the command-line to this option.
|
checkValue, equals, getArgumentName, getDefaultValue, getEnvVariableName, getEnvVariableValue, getHelpText, getOption, getOptionAndArgument, getStringValue, hasArgument, hashCode, isMandatory, isPrintHelp, isPrintSyntax, isSecret, isValueTakenFromEnvVariable, parseDefaultValue, parseValue, setDefaultValue, setEnvVariableName, setFound, setHelpText, setMandatory, setPrintHelp, setPrintSyntax, setSecret, setStringValue, toDumpString, toString, wasFoundconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic AbstractStringOption(java.lang.String option,
java.lang.String argName,
java.lang.String helpText)
public final java.lang.String getValue()
CommandLineOptiongetValue in class CommandLineOption<java.lang.String>protected void parseValue(java.lang.String value)
throws java.lang.Exception
CommandLineOptionparseValue in class CommandLineOption<java.lang.String>java.lang.ExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.