public class CommandLineParser
extends java.lang.Object
CommandLine
.Constructor and Description |
---|
CommandLineParser() |
Modifier and Type | Method and Description |
---|---|
static CommandLine |
parse(java.lang.String[] cliArgs,
boolean silent)
Parses arguments and initializes the parser.
|
static java.lang.String[] |
preprocessFileLookup(java.lang.String[] cArgs) |
static void |
printAruments(java.io.PrintStream out,
java.lang.String[] args,
java.lang.String password) |
static void |
printUsage(java.lang.String[] args)
Prints out usage.
|
public static CommandLine parse(java.lang.String[] cliArgs, boolean silent) throws java.lang.Exception
cliArgs
- the argumentssilent
- if true
, no error messages will be writtenjava.lang.Exception
public static java.lang.String[] preprocessFileLookup(java.lang.String[] cArgs) throws java.io.IOException
java.io.IOException
public static void printUsage(java.lang.String[] args)
public static void printAruments(java.io.PrintStream out, java.lang.String[] args, java.lang.String password)