|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Option
Interface for options that may be registered and parsed by the ArgumentParser.
| Method Summary | |
|---|---|
String |
getOption()
Must return the flag and parameters of this option. |
String |
getUsage()
Must return a description of the usage of this option. |
int |
parse(List<String> values)
Must check whether values begins with this option. |
| Method Detail |
|---|
int parse(List<String> values)
throws MissingArgumentException,
ArgumentFormatException,
BailOutException
MissingArgumentException
ArgumentFormatException
BailOutExceptionString getOption()
String getUsage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||