Package | Description |
---|---|
org.apache.commons.cli2 | |
org.apache.commons.cli2.commandline | |
org.apache.commons.cli2.option | |
org.apache.commons.cli2.util |
Modifier and Type | Method and Description |
---|---|
void |
Option.process(WriteableCommandLine commandLine,
ListIterator args)
Processes String arguments into a CommandLine.
|
void |
Parent.processParent(WriteableCommandLine commandLine,
ListIterator args)
Processes the parent part of the Option.
|
void |
Argument.processValues(WriteableCommandLine commandLine,
ListIterator args,
Option option)
Processes the "README" style element of the argument.
|
void |
Option.validate(WriteableCommandLine commandLine)
Checks that the supplied CommandLine is valid with respect to this
option.
|
void |
Argument.validate(WriteableCommandLine commandLine,
Option option)
Performs any necessary validation on the values added to the
CommandLine.
|
Modifier and Type | Method and Description |
---|---|
CommandLine |
Parser.parse(String[] arguments)
Parse the arguments according to the specified options and properties.
|
Modifier and Type | Method and Description |
---|---|
void |
GroupImpl.process(WriteableCommandLine commandLine,
ListIterator arguments) |
void |
PropertyOption.process(WriteableCommandLine commandLine,
ListIterator arguments) |
void |
ArgumentImpl.process(WriteableCommandLine commandLine,
ListIterator args) |
void |
ParentImpl.process(WriteableCommandLine commandLine,
ListIterator arguments) |
void |
Command.processParent(WriteableCommandLine commandLine,
ListIterator arguments) |
void |
DefaultOption.processParent(WriteableCommandLine commandLine,
ListIterator arguments) |
void |
Switch.processParent(WriteableCommandLine commandLine,
ListIterator arguments) |
void |
ArgumentImpl.processValues(WriteableCommandLine commandLine,
ListIterator arguments,
Option option) |
void |
GroupImpl.validate(WriteableCommandLine commandLine) |
void |
Command.validate(WriteableCommandLine commandLine) |
void |
DefaultOption.validate(WriteableCommandLine commandLine) |
void |
ArgumentImpl.validate(WriteableCommandLine commandLine) |
void |
Switch.validate(WriteableCommandLine commandLine) |
void |
ParentImpl.validate(WriteableCommandLine commandLine) |
void |
ArgumentImpl.validate(WriteableCommandLine commandLine,
Option option) |
void |
SourceDestArgument.validate(WriteableCommandLine commandLine,
Option option) |
Modifier and Type | Method and Description |
---|---|
OptionException |
HelpFormatter.getException() |
Modifier and Type | Method and Description |
---|---|
void |
HelpFormatter.setException(OptionException exception)
Sets the exception to document
|
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.