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