Package org.jline.builtins
Class Options
java.lang.Object
org.jline.builtins.Options
Yet another GNU long options parser. This one is configured by parsing its Usage string.
Code coming from Apache Felix Gogo Shell
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception thrown when using the--help
option on a built-in command. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionargs()
static Options
static Options
static Options
static Options
static Options
static Options
int
getObjectList
(String name) boolean
setOptionsFirst
(boolean optionsFirst) setStopOnBadOption
(boolean stopOnBadOption) toString()
usage()
void
usage
(PrintStream err) usageError
(String s) Prints usage message and returns IllegalArgumentException, for you to throw.
-
Field Details
-
NL
-
-
Method Details
-
compile
-
compile
-
compile
-
compile
-
compile
-
compile
-
setStopOnBadOption
-
setOptionsFirst
-
isSet
-
getObject
-
getObjectList
-
getList
-
get
-
getNumber
-
argObjects
-
args
-
usage
-
usage
-
usageError
Prints usage message and returns IllegalArgumentException, for you to throw.- Parameters:
s
- the message to display- Returns:
- an exception with the generated message
-
parse
-
parse
-
parse
-
parse
-
toString
-