public class AbstractIntegerOption extends CommandLineOption<java.lang.Integer>
Constructor and Description |
---|
AbstractIntegerOption(java.lang.String option,
java.lang.String argName,
java.lang.String helpText) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
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.
|
void |
setDefaultValue(int value) |
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, wasFound
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public AbstractIntegerOption(java.lang.String option, java.lang.String argName, java.lang.String helpText)
public final java.lang.Integer getValue()
CommandLineOption
getValue
in class CommandLineOption<java.lang.Integer>
protected void parseValue(java.lang.String value) throws java.lang.Exception
CommandLineOption
parseValue
in class CommandLineOption<java.lang.Integer>
java.lang.Exception
public final void setDefaultValue(int value)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.