public class Parser
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Parser.Result
Represents the result of a command line argument parse.
|
| Constructor and Description |
|---|
Parser() |
| Modifier and Type | Method and Description |
|---|---|
static Parser.Result |
parse(java.lang.Object options,
java.lang.String... args)
Parses command line arguments and populates the given
option bean with the values if
the parse is successful. |
public static Parser.Result parse(java.lang.Object options, java.lang.String... args)
option bean with the values if
the parse is successful.options - The options bean to populate with the parsed command line options.args - The command line arguments to parse.