public class CommandLine
extends java.lang.Object
Report bugs and send suggestions to: ddekany at freemail dot hu.
| Constructor and Description |
|---|
CommandLine() |
| Modifier and Type | Method and Description |
|---|---|
static int |
execute(java.lang.String[] args,
java.io.PrintWriter stdout,
java.io.PrintWriter stderr)
Emulates command-line invocation of the tool.
|
static void |
main(java.lang.String[] args)
Main method.
|
public static void main(java.lang.String[] args)
public static int execute(java.lang.String[] args,
java.io.PrintWriter stdout,
java.io.PrintWriter stderr)
args - the command line argumentsstdout - the PrintWriter used as stdout.
If it is null then it defaults to the real stdout.stderr - the PrintWriter used as stderr.
If it is null then it defaults to the real stderr.