class ArgumentBuilder
extends java.lang.Object
build()
method.
Modifier and Type | Field and Description |
---|---|
private static net.sourceforge.argparse4j.inf.ArgumentParser |
mParser
This is the instance of
ArgumentParser . |
Modifier | Constructor and Description |
---|---|
private |
ArgumentBuilder()
Empty private constructor - prevents the class from being instantiated.
|
Modifier and Type | Method and Description |
---|---|
static net.sourceforge.argparse4j.inf.Namespace |
build(java.lang.String[] args)
Customizes and parses the command line arguments.
|
private static void |
buildArguments()
This method defines all command line arguments along with their names and help messages.
|
private static net.sourceforge.argparse4j.inf.ArgumentParser mParser
ArgumentParser
.
It makes building command line interface a very easy task. It is the core
instrument of argparse4j.private ArgumentBuilder()
public static net.sourceforge.argparse4j.inf.Namespace build(java.lang.String[] args)
args
- command line arguments
as a String
arrayNamespace
objectprivate static void buildArguments()