Package | Description |
---|---|
org.apache.commons.cli2 | |
org.apache.commons.cli2.commandline | |
org.apache.commons.cli2.option |
Modifier and Type | Method and Description |
---|---|
boolean |
Option.canProcess(WriteableCommandLine commandLine,
ListIterator arguments)
Indicates whether this Option will be able to process the particular
argument.
|
boolean |
Option.canProcess(WriteableCommandLine commandLine,
String argument)
Indicates whether this Option will be able to process the particular
argument.
|
void |
Option.defaults(WriteableCommandLine commandLine)
Adds defaults to a CommandLine.
|
void |
Argument.defaultValues(WriteableCommandLine commandLine,
Option option)
Adds defaults to a CommandLine.
|
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 | Class and Description |
---|---|
class |
WriteableCommandLineImpl
A WriteableCommandLine implementation allowing Options to write their
processed information to a CommandLine.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OptionImpl.canProcess(WriteableCommandLine commandLine,
ListIterator arguments) |
boolean |
GroupImpl.canProcess(WriteableCommandLine commandLine,
String arg) |
boolean |
PropertyOption.canProcess(WriteableCommandLine commandLine,
String argument) |
boolean |
DefaultOption.canProcess(WriteableCommandLine commandLine,
String argument) |
boolean |
ArgumentImpl.canProcess(WriteableCommandLine commandLine,
String arg) |
boolean |
SourceDestArgument.canProcess(WriteableCommandLine commandLine,
String arg) |
boolean |
ParentImpl.canProcess(WriteableCommandLine commandLine,
String arg) |
void |
GroupImpl.defaults(WriteableCommandLine commandLine) |
void |
OptionImpl.defaults(WriteableCommandLine commandLine) |
void |
ArgumentImpl.defaults(WriteableCommandLine commandLine) |
void |
Switch.defaults(WriteableCommandLine commandLine) |
void |
ParentImpl.defaults(WriteableCommandLine commandLine) |
void |
ArgumentImpl.defaultValues(WriteableCommandLine commandLine,
Option option) |
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 |
PropertyOption.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) |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.