Package | Description |
---|---|
org.crosswire.common.options |
Classes to represent command line options.
|
Modifier and Type | Field and Description |
---|---|
private Map<String,Option> |
OptionList.longOptions |
private Map<String,Option> |
OptionList.shortOptions |
private Map<Option,String> |
GetOptions.suppliedOptions |
Modifier and Type | Method and Description |
---|---|
Option |
OptionList.getShortOption(char key)
Get the Option that matches the key on the Option's short name.
|
Modifier and Type | Method and Description |
---|---|
List<Option> |
OptionList.getLongOptions(String key)
Get a list of Options that match the Option's long name.
|
List<Option> |
OptionList.getOptions(String key)
Get a list of Options that match the Option's short or long name.
|
Modifier and Type | Method and Description |
---|---|
void |
OptionList.add(Option option)
Adds an Option to the end of this OptionList.
|