|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openexchange.admin.console.CmdLineParser.Option
public abstract static class CmdLineParser.Option
Representation of a command-line option
Nested Class Summary | |
---|---|
static class |
CmdLineParser.Option.BooleanOption
|
static class |
CmdLineParser.Option.DoubleOption
An option that expects a floating-point value |
static class |
CmdLineParser.Option.IntegerOption
An option that expects an integer value |
static class |
CmdLineParser.Option.LongOption
An option that expects a long integer value |
static class |
CmdLineParser.Option.SettableBooleanOption
|
static class |
CmdLineParser.Option.StringOption
An option that expects a string value |
Method Summary | |
---|---|
java.lang.Object |
getValue(java.lang.String arg,
java.util.Locale locale)
|
java.lang.String |
longForm()
|
java.lang.String |
shortForm()
|
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 java.lang.String shortForm()
public java.lang.String longForm()
public boolean wantsValue()
public final java.lang.Object getValue(java.lang.String arg, java.util.Locale locale) throws CmdLineParser.IllegalOptionValueException
CmdLineParser.IllegalOptionValueException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |