public class OptionLocale extends CommandLineOption<java.util.Locale>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPTION_NAME |
| Constructor and Description |
|---|
OptionLocale() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValue()
Performs additional checks on the entered option value (i.e. file existence etc..)
|
java.util.Locale |
getValue()
Returns the parsed value of this option.
|
void |
parseValue(java.lang.String value)
Parses and stores the given value from the command-line to this option.
|
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 static final java.lang.String OPTION_NAME
public final java.util.Locale getValue()
CommandLineOptiongetValue in class CommandLineOption<java.util.Locale>public void parseValue(java.lang.String value)
throws java.lang.Exception
CommandLineOptionparseValue in class CommandLineOption<java.util.Locale>java.lang.Exceptionpublic void checkValue()
throws java.lang.Exception
CommandLineOptioncheckValue in class CommandLineOption<java.util.Locale>java.lang.ExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.