public class GetOptions
extends java.lang.Object
Option annotation on the bean to know what
attributes are configurable and how.| Constructor and Description |
|---|
GetOptions() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getLongList(java.lang.Object dest) |
static java.lang.String |
getShortList(java.lang.Object dest) |
static java.util.List<java.lang.String> |
parse(java.lang.String[] args,
java.lang.Object dest)
Parses the arguments and assign their values to the provided bean
|
public static java.util.List<java.lang.String> parse(java.lang.String[] args,
java.lang.Object dest)
throws InvalidOption
args - The arguments as passed to the "main" static method.dest - The bean to initialize.InvalidOption - In case of error.public static java.lang.String getShortList(java.lang.Object dest)
public static java.lang.String getLongList(java.lang.Object dest)
throws java.lang.IllegalAccessException
java.lang.IllegalAccessException