Package jcmdline

A package to facilitate the handling of command line options and arguments.

See:
          Description

Interface Summary
CmdLineHandler Interface that describes the API for a command line handler.
CmdLineParser Interface desribing the API used between the CmdLineHandler and its command line parser.
OptionTakesNoValue An interface indicating an option Paramter that requires no value on the command line (as for the BooleanParam).
Parameter<T> Interface for command line parameters.
UsageFormatter Used to format a command's usage.
 

Class Summary
AbstractHandlerDecorator An abstract class implementing the Decorator design pattern for decoration of CmdLineHandler subclasses.
AbstractParameter<T> Base class for command line parameters.
BasicCmdLineHandler Used to define, parse, and validate the parameters associated with an executable's command line.
BooleanParam Encapsulate a boolean command line parameter.
DateParam A parameter that accepts a date as its value.
DateTimeParam A parameter that accepts a date and time as its value.
DefaultCmdLineHandler A Decorator class that implements command line options for the display of the command's usage.
FileParam Encapsulate a command line parameter whose value will be the name of a file or directory.
HelpCmdLineHandler A CmdLineHandler Decorator class that implements help options that display verbose help messages.
IntParam Encapsulate a command line parameter whose value will be a signed integer in the same range as a java int.
LoggerCmdLineHandler A CmdLineHandler Decorator class that implements a logging option that implements rudimentary support for the java.util.logging package.
PosixCmdLineParser Used to parse the parameters associated with an executable's command line.
StringFormatHelper A class used to facilitate common String formatting tasks.
StringParam Encapsulate a command line parameter whose value will be a string.
Strings A helper class used to obtain Strings for this package.
TextUsageFormatter Used to format a command's usage.
TimeParam A parameter that accepts a time as its value.
VersionCmdLineHandler A CmdLineHandler Decorator class that implements a -version option.
 

Exception Summary
CmdLineException An Exception that indicates a command line processing error.
 

Package jcmdline Description

A package to facilitate the handling of command line options and arguments.

This is release 2.0.0 of the jcmdline package.

The User Guide for this package may be found here.