| Package | Description |
|---|---|
| net.morimekta.console.args |
| Modifier and Type | Method and Description |
|---|---|
int |
Property.apply(ArgumentList args) |
int |
Flag.apply(ArgumentList args) |
int |
Argument.apply(ArgumentList args) |
int |
SubCommandSet.apply(ArgumentList args) |
abstract int |
BaseArgument.apply(ArgumentList args)
Try to apply to the argument.
|
int |
Option.apply(ArgumentList args) |
abstract int |
BaseOption.apply(ArgumentList args)
Parse the argument list, including the argument string that triggered
the call.
|
int |
Property.applyShort(String opts,
ArgumentList args) |
int |
Flag.applyShort(String opts,
ArgumentList args) |
int |
Option.applyShort(String opts,
ArgumentList args) |
abstract int |
BaseOption.applyShort(String opts,
ArgumentList args)
When handling a list of short options, except for the last short
option.
|
void |
ArgumentParser.parse(ArgumentList args)
Parse arguments from the main method.
|
| Constructor and Description |
|---|
ArgumentList(ArgumentList copy) |
Copyright © 2016. All rights reserved.