|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openexchange.admin.console.CLIOption
public abstract class CLIOption
CLIOption
- A command-line option.
Nested Class Summary | |
---|---|
static class |
CLIOption.CLIBooleanOption
A boolean option. |
static class |
CLIOption.CLIDoubleOption
A double option. |
static class |
CLIOption.CLIIntegerOption
An integer option. |
static class |
CLIOption.CLILongOption
A long option. |
static class |
CLIOption.CLISettableBooleanOption
A settable boolean option. |
static class |
CLIOption.CLIStringOption
A string option. |
Method Summary | |
---|---|
String |
longForm()
Gets option's long form. |
Object |
parseValue(String value,
Locale locale)
Parses the specified option's value. |
String |
shortForm()
Gets option's short form. |
boolean |
wantsValue()
Tells whether or not this option wants a value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String shortForm()
public String longForm()
public boolean wantsValue()
public Object parseValue(String value, Locale locale) throws CLIIllegalOptionValueException
value
- The option's valuelocale
- The locale
CLIIllegalOptionValueException
- If an illegal or missing value is experienced
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |