GetOpt.java | Class | Overview
GetOpt provides a general means for a Java program to parse command
line arguments in accordance with the standard Unix conventions;
it is analogous to, and based on, getopt(3) for C programs.
(The following documentation is based on the man page for getopt(3).)
Description
GetOpt is a Java class that provides one method, getopt,
and some variables that control behavior of or return additional
information from getopt.
GetOpt interprets command arguments in accordance with the standard
Unix conventions: option arguments of a command are introduced by "-"
followed by a key character, and a non-option argument terminates
the processing of options. |