java.lang.Object
org.pqt.cloptions.Option
org.pqt.cloptions.StringOption
- public class StringOption
- extends Option
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
|
Method Summary |
void |
doRead(OptionProcessor op)
read in the arguments for this option - this routine should be overridden
in subclasses |
| Methods inherited from class org.pqt.cloptions.Option |
read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public java.util.Vector value
- this will contain the strings read in
num
int num
StringOption
public StringOption(java.lang.String shortNames,
java.lang.String longNames,
int num)
- initialize the option to read num strings
StringOption
public StringOption(java.lang.String shortNames,
java.lang.String longNames)
- initialize the option to read a single string
doRead
public void doRead(OptionProcessor op)
throws OptionException
- Description copied from class:
Option
- read in the arguments for this option - this routine should be overridden
in subclasses
- Overrides:
doRead in class Option