This program
provides you with a basis from which
you can build your own command line parser.
It accepts one command line argument of each type:
a word argument, an argument that requires an argument, and two flags.
In addition, this program requires a filename.
Here's the usage statement for this program:
usage: ParseCmdLine [-verbose] [-xn] [-output afile] filename
The arguments within square brackets are optional;
the filename argument is required.
See Also
The example program relies heavily on the String and System classes. For more information
about these two classes follow the links below.
The String and StringBuffer Classes
Using System Resources
java.lang.String
java.lang.System