Class CmdLineParser.Option
- java.lang.Object
-
- org.apache.directory.fortress.core.cli.CmdLineParser.Option
-
- Direct Known Subclasses:
CmdLineParser.Option.BooleanOption
,CmdLineParser.Option.DoubleOption
,CmdLineParser.Option.IntegerOption
,CmdLineParser.Option.LongOption
,CmdLineParser.Option.StringOption
- Enclosing class:
- CmdLineParser
public abstract static class CmdLineParser.Option extends Object
Representation of a command-line option
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmdLineParser.Option.BooleanOption
static class
CmdLineParser.Option.DoubleOption
An option that expects a floating-point valuestatic class
CmdLineParser.Option.IntegerOption
An option that expects an integer valuestatic class
CmdLineParser.Option.LongOption
An option that expects a long integer valuestatic class
CmdLineParser.Option.StringOption
An option that expects a string value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue(String arg, Locale locale)
String
longForm()
String
shortForm()
boolean
wantsValue()
Tells whether or not this option wants a value
-