net.dpml.cli
Interface Parent
- Option
- Command, DefaultOption, ParentImpl, Switch
An Option that can have an argument and/or group of child Options in the form
"-f <arg> [-a|-b|-c]".
appendUsage, canProcess, canProcess, defaults, findOption, getDescription, getId, getPreferredName, getPrefixes, getTriggers, helpLines, isRequired, process, validate |
processParent
public void processParent(WriteableCommandLine commandLine,
ListIterator args)
throws OptionException Processes the parent part of the Option. The combination of parent,
argument and children is handled by the process method.
commandLine - the CommandLine to write results toargs - a ListIterator over argument strings positioned at the next
argument to process