|
|||||||||
| Home >> All >> org >> pqt >> [ cloptions overview ] | PREV NEXT | ||||||||
A
- afterDash - Variable in class org.pqt.cloptions.OptionProcessor
- argPosn - Variable in class org.pqt.cloptions.OptionProcessor
- argString - Variable in class org.pqt.cloptions.OptionProcessor
B
- BooleanOption - class org.pqt.cloptions.BooleanOption.
- this class implements a command line option that is followed by a + or a - indicating the option is set or unset.
- BooleanOption(String, String, boolean) - Constructor for class org.pqt.cloptions.BooleanOption
- initialize with the given initial value
- BooleanOption(String, String) - Constructor for class org.pqt.cloptions.BooleanOption
- initialize to false
C
- clOptionArray - Variable in class org.pqt.cloptions.OptionProcessor
D
- doRead(OptionProcessor) - Method in class org.pqt.cloptions.BooleanOption
- doRead(OptionProcessor) - Method in class org.pqt.cloptions.FlagOption
- do nothing, simply set the value of the option to true
- doRead(OptionProcessor) - Method in class org.pqt.cloptions.NumberOption
- read in the numbers
- doRead(OptionProcessor) - Method in class org.pqt.cloptions.Option
- read in the arguments for this option - this routine should be overridden in subclasses
- doRead(OptionProcessor) - Method in class org.pqt.cloptions.StringOption
F
- FlagOption - class org.pqt.cloptions.FlagOption.
- this class implements a command line option that is set simply by appearing on the command line - so the option is not followed by a +/- to indicate the state of the option
- FlagOption(String, String) - Constructor for class org.pqt.cloptions.FlagOption
- fileNames - Variable in class org.pqt.cloptions.OptionProcessor
- contains any filenames (words not preceeded by a '-') read on the command line, in the order in which they appear
G
- getBoolean() - Method in class org.pqt.cloptions.OptionProcessor
- if the next character in the command string is a '+' or '-' read it
- getChar() - Method in class org.pqt.cloptions.OptionProcessor
- get a single character from the command line options string
- getCharNoSpace() - Method in class org.pqt.cloptions.OptionProcessor
- get a single character from the command line options string, ignoring any white space
- getLongName() - Method in class org.pqt.cloptions.OptionProcessor
- read a long option name from the command line string.
- getNumValue() - Method in class org.pqt.cloptions.OptionProcessor
- read a numeric value (which can be in full floating point form) from the command line string
- getString() - Method in class org.pqt.cloptions.OptionProcessor
- read in a string (enclosed in double quotes) from the command line string
- getStringValue() - Method in class org.pqt.cloptions.OptionProcessor
- read a string, either enclosed in quotes (in which case the string can contain spaces) or not enclosed in quotes (in which case spaces are not allowed).
- getString_() - Method in class org.pqt.cloptions.OptionProcessor
I
- isIdChar(int) - Method in class org.pqt.cloptions.OptionProcessor
- isNumChar(int) - Method in class org.pqt.cloptions.OptionProcessor
- return true if the character c could be part of a floating point number#
L
- longCheck(Option, String) - Method in class org.pqt.cloptions.OptionProcessor
- check a string against an option
- longNames - Variable in class org.pqt.cloptions.Option
M
- matchCase(boolean) - Method in class org.pqt.cloptions.OptionProcessor
- sets whether short options are case sensitive (long options never are)
- matchCaseShort - Variable in class org.pqt.cloptions.OptionProcessor
- max - Variable in class org.pqt.cloptions.NumberOption
- min - Variable in class org.pqt.cloptions.NumberOption
N
- NumberOption - class org.pqt.cloptions.NumberOption.
- this class implements a command line option that is followed by none or more integer numbers
- NumberOption(String, String, int, int) - Constructor for class org.pqt.cloptions.NumberOption
- initialize the option to use the given names, and to read a minimum of min and a maximum of max numbers following the option
- NumberOption(String, String) - Constructor for class org.pqt.cloptions.NumberOption
- initialize the option using the given names to read none or more numbers from the command line (the upper limit is in fact 60000)
- num - Variable in class org.pqt.cloptions.StringOption
O
- Option - class org.pqt.cloptions.Option.
- Option(String, String) - Constructor for class org.pqt.cloptions.Option
- initializes a newly created Option object to have the given list of shortNames and longNames
- OptionException - exception org.pqt.cloptions.OptionException.
- OptionException() - Constructor for class org.pqt.cloptions.OptionException
- OptionException(String) - Constructor for class org.pqt.cloptions.OptionException
- OptionProcessor - class org.pqt.cloptions.OptionProcessor.
- a class for handling command line options and parameters.
- OptionProcessor(Option[]) - Constructor for class org.pqt.cloptions.OptionProcessor
- initialize using a given array of Option(s)
- optionsRead - Variable in class org.pqt.cloptions.OptionProcessor
- the number of options read
- org.pqt.cloptions - package org.pqt.cloptions
P
- peekChar() - Method in class org.pqt.cloptions.OptionProcessor
- get a single character from the command line options string, without changing the current position in the string (ie a subsequent getChar will return the same character)
- peekCharNoSpace() - Method in class org.pqt.cloptions.OptionProcessor
- get a single character from the command line options string, without changing the current position in the string (ie a subsequent getChar will return the same character) ignore any white space
- process(String[]) - Method in class org.pqt.cloptions.OptionProcessor
- process the given array of string arguments
R
- read - Variable in class org.pqt.cloptions.Option
- set to true if this option has been appeared on the command line
- read(OptionProcessor) - Method in class org.pqt.cloptions.Option
- read in the arguments for this option, using the given option processor
- restorePosn() - Method in class org.pqt.cloptions.OptionProcessor
- restore the current position in the command string, as saved by savePosn
S
- StringOption - class org.pqt.cloptions.StringOption.
- this class implements a command line option that is followed by a fixed number of strings, either enclosed in quotes or as words without spaces
- StringOption(String, String, int) - Constructor for class org.pqt.cloptions.StringOption
- initialize the option to read num strings
- StringOption(String, String) - Constructor for class org.pqt.cloptions.StringOption
- initialize the option to read a single string
- savePosn() - Method in class org.pqt.cloptions.OptionProcessor
- save the current position in the command string
- savedArgPosn - Variable in class org.pqt.cloptions.OptionProcessor
- shortCheck(Option, int) - Method in class org.pqt.cloptions.OptionProcessor
- check a character against an option
- shortNames - Variable in class org.pqt.cloptions.Option
V
- value - Variable in class org.pqt.cloptions.BooleanOption
- true if the option is set, false otherwise
- value - Variable in class org.pqt.cloptions.FlagOption
- value - Variable in class org.pqt.cloptions.NumberOption
- this will contain the numbers read in
- value - Variable in class org.pqt.cloptions.StringOption
- this will contain the strings read in
A B C D F G I L M N O P R S V
|
|||||||||
| Home >> All >> org >> pqt >> [ cloptions overview ] | PREV NEXT | ||||||||