All Packages Class Hierarchy This Package Previous Next Index
Class gnu.getopt.LongOpt
java.lang.Object
|
+----gnu.getopt.LongOpt
- public class LongOpt
- extends Object
This object represents the definition of a long option in the Java port
of GNU getopt. An array of LongOpt objects is passed to the Getopt
object to define the list of valid long options for a given parsing
session. Refer to the getopt documentation for details on the
format of long options.
- Version:
- 1.0.3
- Author:
- Aaron M. Renn (arenn@urbanophile.com)
- See Also:
- Getopt
-
NO_ARGUMENT
- Constant value used for the "has_arg" constructor argument.
-
OPTIONAL_ARGUMENT
- Constant value used for the "has_arg" constructor argument.
-
REQUIRED_ARGUMENT
-
Constant value used for the "has_arg" constructor argument.
-
LongOpt(String, int, StringBuffer, int)
- Create a new LongOpt object with the given parameter values.
-
getFlag()
- Returns the value of the 'flag' field for this long option
-
getHasArg()
- Returns the value set for the '