C E F G I P S W 

C

Config - Class in cz.phalanx.config
Class Config is a getopt-like command line argument parser mimicking the POSIX behavior of getopt.
Config(String) - Constructor for class cz.phalanx.config.Config
Standard constructor.
Config(String, Config.ErrorHandler) - Constructor for class cz.phalanx.config.Config
The constructor that allows change of the ErrorHandler.
Config.ErrorHandler - Interface in cz.phalanx.config
ErrorHandler is used to report errors.
cz.phalanx.config - package cz.phalanx.config
Package cz.phalanx.config is intended for classes that provide command-line argument parsing functionality.

Version 1.0, Sep 22nd, 2014

Currently implemented: Config - supports parsing of single-character command line options with optional, mandatory or no argument values at all Currently planned: Support for key=value pairs in argument values Argument value checks (regexp)

E

error(String) - Method in interface cz.phalanx.config.Config.ErrorHandler
Output a non-fatal error.

F

fatal(String) - Method in interface cz.phalanx.config.Config.ErrorHandler
Output a fatal error messages.

G

getArguments() - Method in class cz.phalanx.config.Config
Return an array of non-option arguments, i.e. the strings that have been found at the command line not belonging to any of the options.
getHandler() - Method in class cz.phalanx.config.Config
Return the current ErrorHandler of the instance.
getOptionArgs(char) - Method in class cz.phalanx.config.Config
Return an array of the option argument values as scanned at the command line.

I

isOn(char) - Method in class cz.phalanx.config.Config
Answer whether the specified option has been seen on the command line.

P

parseArguments(String...) - Method in class cz.phalanx.config.Config
Scan sequentially the elements of the argument array and set the option values accordingly.

S

setHandler(Config.ErrorHandler) - Method in class cz.phalanx.config.Config
Set the alternative error handler.

W

warning(String) - Method in interface cz.phalanx.config.Config.ErrorHandler
Output a warning message.
C E F G I P S W