- acceptSystemIn() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
If the argument is "-", accept it as standard input.
- acceptSystemIn() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
If the argument is "-", accept it as standard input.
- action(ArgumentAction) - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Sets the action to be taken when this argument is encountered at the
command line.
- action(ArgumentAction) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- ActionContext - Class in eu.tneitzel.argparse4j.global
-
The ActionContext class is used to store meta information associated to IAction
implementors.
- ActionContext(String, IAction[]) - Constructor for class eu.tneitzel.argparse4j.global.ActionContext
-
Create a new ActionContext by specifying it's destination in an argument parser and the
associated IAction objects.
- ActionContext(String, String, String, IAction[]) - Constructor for class eu.tneitzel.argparse4j.global.ActionContext
-
Create a new ActionContext by specifying it's destination in an argument parser, it's meta variable,
it's help text and the associated IAction objects.
- addActions(Subparsers, IAction...) - Static method in class eu.tneitzel.argparse4j.global.GlobalOption
-
Add a list of IAction objects to an Subparsers container.
- addArgument(String...) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentContainer
-
Creates new
Argument
, adds it to this container and returns it.
- addArgument(String...) - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
-
- addArgument(String...) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- addArgument(ArgumentGroupImpl, String...) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- addArgument(String...) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- addArgumentGroup(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Creates new
ArgumentGroup
object and adds to this parser and
returns the object.
- addArgumentGroup(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- addArgumentGroup(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- addHelp(boolean) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
-
If true, -h/--help
are available.
- addModifiers(Argument) - Method in interface eu.tneitzel.argparse4j.global.IOption
-
IOption can have associated IArgumentModifiers that modify different properties of the option
in the context of argparse4j (e.g.
- addMutuallyExclusiveGroup() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Creates new mutually exclusive group,
MutuallyExclusiveGroup
object, without title and adds to this parser and returns the object.
- addMutuallyExclusiveGroup(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Creates new mutually exclusive group,
MutuallyExclusiveGroup
object, and adds to this parser and returns the object.
- addMutuallyExclusiveGroup() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- addMutuallyExclusiveGroup(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- addMutuallyExclusiveGroup() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- addMutuallyExclusiveGroup(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- addOption(ArgumentParser, IAction) - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Add the option to an argument parser.
- addOptions(ArgumentParser, IAction) - Static method in class eu.tneitzel.argparse4j.global.GlobalOption
-
Add all options from an action to an argument parser.
- addParser(String) - Method in interface eu.tneitzel.argparse4j.inf.SubparserContainer
-
Adds and returns
Subparser
object with given sub-command name.
- addParser(String, boolean) - Method in interface eu.tneitzel.argparse4j.inf.SubparserContainer
-
Adds and returns
Subparser
object with given sub-command name and
addHelp.
- addParser(String, boolean, String) - Method in interface eu.tneitzel.argparse4j.inf.SubparserContainer
-
Adds and returns
Subparser
object with given sub-command name,
addHelp and prefixChars.
- addParser(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
-
- addParser(String, boolean) - Method in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
-
- addParser(String, boolean, String) - Method in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
-
- addSubparserGroup() - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
-
Adds a new SubparserGroup to the Subparsers instance.
- addSubparserGroup() - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
-
- addSubparsers(ArgumentParser) - Method in class eu.tneitzel.argparse4j.global.ActionContext
-
Add new Subparsers based on the properties of the ActionContext.
- addSubparsers() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
- addSubparsers() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- addSubparsers() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- addSuparser(Subparsers) - Method in interface eu.tneitzel.argparse4j.global.IAction
-
Add a new subparser for the action and assign all options associated with the
action to the new subparser.
- adjustSpace(StringBuilder, int, int) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
-
Given the maximum line width and current line width in sb, insert white
spaces in sb to make it look more "natural".
- aliases(String...) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
-
Sets alias names for this Subparser.
- aliases(String...) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- append() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Returns append action.
- AppendArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
-
Argument action to store a list.
- AppendArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.AppendArgumentAction
-
- appendConst() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Returns appendConst action.
- AppendConstArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
-
Argument action to store a list.
- AppendConstArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.AppendConstArgumentAction
-
- apply(Argument) - Method in class eu.tneitzel.argparse4j.global.modifiers.Choices
-
- apply(Argument) - Method in interface eu.tneitzel.argparse4j.global.modifiers.IArgumentModifier
-
Applies the modifier to an argument.
- apply(Argument) - Method in class eu.tneitzel.argparse4j.global.modifiers.MetaVar
-
- apply(Argument) - Method in class eu.tneitzel.argparse4j.global.modifiers.NArgs
-
- apply(Argument) - Method in class eu.tneitzel.argparse4j.global.modifiers.Type
-
- Arg - Annotation Type in eu.tneitzel.argparse4j.annotation
-
Annotation specifies location where attribute should be stored.
- Argument - Interface in eu.tneitzel.argparse4j.inf
-
This interface provides a way to specify parameters to argument to be
processed in
ArgumentParser
object.
- ArgumentAction - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines behavior of action when an argument is encountered at
the command line.
- ArgumentChoice - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines simple data validation method.
- ArgumentContainer - Interface in eu.tneitzel.argparse4j.inf
-
A container to which arguments can be added.
- ArgumentGroup - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines a method to conceptually group up
Argument
objects.
- ArgumentGroupImpl - Class in eu.tneitzel.argparse4j.internal
-
The application code must not use this class directly.
This class implements both mutually exclusive group and just a conceptual
group.
- ArgumentImpl - Class in eu.tneitzel.argparse4j.internal
-
The application code must not use this class directly.
- ArgumentParser - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines behavior of ArgumentParser.
- ArgumentParserBuilder - Class in eu.tneitzel.argparse4j
-
ArgumentParserBuilder is a class to build new ArgumentParser with a given
custom configuration.
- ArgumentParserConfiguration - Interface in eu.tneitzel.argparse4j.inf
-
ArgumentParserConfiguration is a configuration interface of ArgumentParser.
- ArgumentParserConfigurationImpl - Class in eu.tneitzel.argparse4j.internal
-
- ArgumentParserConfigurationImpl(String, boolean, String, String, Locale, TextWidthCounter, int, boolean, boolean, boolean, boolean) - Constructor for class eu.tneitzel.argparse4j.internal.ArgumentParserConfigurationImpl
-
- ArgumentParserException - Exception in eu.tneitzel.argparse4j.inf
-
- ArgumentParserException(ArgumentParser) - Constructor for exception eu.tneitzel.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, ArgumentParser) - Constructor for exception eu.tneitzel.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, Throwable, ArgumentParser) - Constructor for exception eu.tneitzel.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(Throwable, ArgumentParser) - Constructor for exception eu.tneitzel.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, ArgumentParser, Argument) - Constructor for exception eu.tneitzel.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, Throwable, ArgumentParser, Argument) - Constructor for exception eu.tneitzel.argparse4j.inf.ArgumentParserException
-
- ArgumentParserImpl - Class in eu.tneitzel.argparse4j.internal
-
The application code must not use this class directly.
- ArgumentParserImpl(ArgumentParserConfigurationImpl) - Constructor for class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- ArgumentParserImpl(ArgumentParserConfigurationImpl, String, ArgumentParserImpl) - Constructor for class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- ArgumentParserImpl.Candidate - Class in eu.tneitzel.argparse4j.internal
-
- ArgumentParsers - Class in eu.tneitzel.argparse4j
-
Factory class to create new ArgumentParser.
- Arguments - Class in eu.tneitzel.argparse4j.impl
-
This class provides useful shortcuts and constants.
- ArgumentType<T> - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines type conversion method.
- ASCIITextWidthCounter - Class in eu.tneitzel.argparse4j.helper
-
This implementation assumes text contains only narrow characters,
- ASCIITextWidthCounter() - Constructor for class eu.tneitzel.argparse4j.helper.ASCIITextWidthCounter
-
- get(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute with given attribute name dest
.
- getAction() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getActions() - Method in class eu.tneitzel.argparse4j.global.ActionContext
-
Return the associated IAction objects.
- getArgs() - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
-
- getArgument() - Method in exception eu.tneitzel.argparse4j.internal.UnrecognizedArgumentException
-
- getArgumentAction() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
- getArgumentGroup(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Returns an already existing
ArgumentGroup
object that was added
to the parser.
- getArgumentGroup(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getArgumentGroup(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- getArgumentModifiers() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
- getAttrs() - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns
Map
object holding attribute values.
- getBool() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Check whether an boolean option is true or false.
- getBoolean(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
Boolean
with given attribute name
dest
.
- getByte(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
Byte
with given attribute name
dest
.
- getCjkWidthHack() - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- getCls() - Method in class eu.tneitzel.argparse4j.global.modifiers.Type
-
Return the underlying option type.
- getCommand() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getCommand() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- getCommand() - Method in exception eu.tneitzel.argparse4j.internal.UnrecognizedCommandException
-
- getConfig() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Get the configuration of this argument parser.
- getConfig() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getConfig() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- getConst() - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Returns const value.
- getConst() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getDefault() - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Returns default value.
- getDefault(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Returns default value of given dest
.
- getDefault() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getDefault(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getDefault(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- getDefaultControl() - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Returns default control.
- getDefaultControl() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getDescription() - Method in interface eu.tneitzel.argparse4j.global.IAction
-
Get the description of the action.
- getDescription() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Get the description of an option.
- getDescription() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentGroup
-
- getDescription() - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
-
- getDescription() - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
-
- getDest() - Method in class eu.tneitzel.argparse4j.global.ActionContext
-
Return the destination within the argument parser.
- getDest() - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Returns dest value.
- getDest() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getDouble(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
Double
with given attribute name
dest
.
- getEnumName() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Returns the name of the enum entry that represents the option.
- getFloat(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
Float
with given attribute name
dest
.
- getFormatWidth() - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- getFromFilePrefixChars() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getGroup() - Method in interface eu.tneitzel.argparse4j.global.IAction
-
Actions used within the same parser can be grouped as it is the case
for options.
- getGroup() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Get the group associated with an option.
- getHelp() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getHelpControl() - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Returns help control.
- getHelpControl() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getHelpText() - Method in class eu.tneitzel.argparse4j.global.ActionContext
-
Return the help text within the argument parser.
- getInt(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
Integer
with given attribute name
dest
.
- getList(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
List
with given attribute name
dest
.
- getLocale() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParserConfiguration
-
Returns Locale for this configuration.
- getLocale() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserConfigurationImpl
-
- getLong(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
Long
with given attribute name
dest
.
- getMetaVar() - Method in class eu.tneitzel.argparse4j.global.ActionContext
-
Return the meta variable within the argument parser.
- getMetavar() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getName() - Method in interface eu.tneitzel.argparse4j.global.IAction
-
Get the name of the action.
- getName() - Method in interface eu.tneitzel.argparse4j.global.IActionGroup
-
Get the name of the action group.
- getName() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Get the name of an option as it is supposed to be represented on a command line.
- getName() - Method in interface eu.tneitzel.argparse4j.global.IOptionGroup
-
Get the name of the option group.
- getName() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- getNoDestConversionForPositionalArgs() - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- getOptions() - Method in interface eu.tneitzel.argparse4j.global.IAction
-
Get all options associated with an action.
- getOrCreateArgumentGroup(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Returns an already existing
ArgumentGroup
object that was added
to the parser.
- getOrCreateArgumentGroup(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getOrCreateArgumentGroup(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- getOrCreateSubparserGroup(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
-
Get an existing SubparserGroup form the parser or create a new one.
- getOrCreateSubparserGroup(String) - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
-
- getParser() - Method in exception eu.tneitzel.argparse4j.inf.ArgumentParserException
-
- getParsers() - Method in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
-
- getParsers() - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
-
- getPlainName() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Returns the option name with all leading dashes being removed.
- getPrefixChars() - Method in class eu.tneitzel.argparse4j.helper.PrefixPattern
-
Returns prefixChars with this object constructed.
- getPrefixChars() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getPrefixPattern() - Method in class eu.tneitzel.argparse4j.helper.PrefixPattern
-
Returns compiled regular expression pattern of prefixChars.
- getProg() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- getRequiredOptions() - Method in exception eu.tneitzel.argparse4j.global.exceptions.RequirementException
-
Get the list of required options.
- getResourceBundle() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParserConfiguration
-
Returns ResourceBundle for this configuration.
- getResourceBundle() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserConfigurationImpl
-
- getShort(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
Short
with given attribute name
dest
.
- getString(String) - Method in class eu.tneitzel.argparse4j.inf.Namespace
-
Returns attribute as
String
with given attribute name
dest
.
- getStringRepresentations() - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumArgumentType
-
Get the objects to be used to generate the String representations of all
enum constants.
- getStringRepresentations() - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumNameArgumentType
-
- getStringRepresentations() - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumStringArgumentType
-
- getSubActions() - Method in interface eu.tneitzel.argparse4j.global.IAction
-
Get nested actions that should be available when using this action.
- getSubparserGroup(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
-
Get an existing SubparserGroup form the parser.
- getSubparserGroup(String) - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
-
- getTerminalWidth() - Method in class eu.tneitzel.argparse4j.internal.TerminalWidth
-
- getTerminalWidthDetection() - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- getTitle() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentGroup
-
- getTitle() - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
-
- getTitle() - Method in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
-
- getType() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Return the underlying Java type of an option.
- getValue() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Get the value of an option.
- GlobalOption - Class in eu.tneitzel.argparse4j.global
-
The GlobalOption class contains methods to add and assign global options from and to an
argument parser.
- GlobalOption() - Constructor for class eu.tneitzel.argparse4j.global.GlobalOption
-
- parseArgs(String[]) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Parses command line arguments.
- parseArgs(String[], Map<String, Object>) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Parses command line arguments.
- parseArgs(String[], Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Parses command line arguments.
- parseArgs(String[], Map<String, Object>, Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Parses command line arguments.
- parseArgs(String[]) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseArgs(String[], Map<String, Object>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseArgs(String[], Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseArgs(String[], Map<String, Object>, Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseArgs(String[]) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseArgs(String[], Map<String, Object>) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseArgs(String[], Object) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseArgs(String[], Map<String, Object>, Object) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseArgsOrFail(String[]) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Parses command line arguments, handling any errors.
- parseArgsOrFail(String[]) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseArgsOrFail(String[]) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseKnownArgs(String[], List<String>) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
- parseKnownArgs(String[], List<String>, Map<String, Object>) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
- parseKnownArgs(String[], List<String>, Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
- parseKnownArgs(String[], List<String>, Map<String, Object>, Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
- parseKnownArgs(String[], List<String>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseKnownArgs(String[], List<String>, Map<String, Object>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseKnownArgs(String[], List<String>, Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseKnownArgs(String[], List<String>, Map<String, Object>, Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseKnownArgs(String[], List<String>) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseKnownArgs(String[], List<String>, Map<String, Object>) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseKnownArgs(String[], List<String>, Object) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseKnownArgs(String[], List<String>, Map<String, Object>, Object) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseKnownArgsOrFail(String[], List<String>) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
- parseKnownArgsOrFail(String[], List<String>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- parseKnownArgsOrFail(String[], List<String>) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- parseOptions(Namespace, Properties, IOption...) - Static method in class eu.tneitzel.argparse4j.global.GlobalOption
-
Take an argparse4j namespace and assign the contained options to the specified list of
IOption instances.
- parsers_ - Variable in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
-
The key is subparser command or alias name and value is subparser object.
- PathArgumentType - Class in eu.tneitzel.argparse4j.ext.java7
-
ArgumentType subclass for Path type, using fluent style API.
- PathArgumentType() - Constructor for class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Create an instance using the default file system for resolving the path.
- PathArgumentType(FileSystem) - Constructor for class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Create an instance using the given file system for resolving the path.
- prefixChars(String) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
-
The set of characters that prefix named arguments.
- PrefixPattern - Class in eu.tneitzel.argparse4j.helper
-
This object performs operations related to prefixChars of option flags.
- PrefixPattern(String) - Constructor for class eu.tneitzel.argparse4j.helper.PrefixPattern
-
Creates this object using given prefixChars
.
- printHelp(PrintWriter, String, String, TextWidthCounter, int) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
-
- printHelp() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Prints help message in stdout.
- printHelp(PrintWriter) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Prints help message in writer.
- printHelp(PrintWriter, int) - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
-
- printHelp(PrintWriter, boolean, TextWidthCounter, int) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- printHelp() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- printHelp(PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- printHelp() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- printHelp(PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- printUsage() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Print a brief description of how the program should be invoked on the
command line in stdout.
- printUsage(PrintWriter) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Print a brief description of how the program should be invoked on the
command line in writer.
- printUsage() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- printUsage(PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- printUsage() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- printUsage(PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- printVersion() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Prints version string in stdout.
- printVersion(PrintWriter) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Prints version string in writer.
- printVersion() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- printVersion(PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- printVersion() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- printVersion(PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- range(T, T) - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Creates new range constrained choice.
- RangeArgumentChoice<T extends Comparable<T>> - Class in eu.tneitzel.argparse4j.impl.choice
-
Choices from given range.
- RangeArgumentChoice(T, T) - Constructor for class eu.tneitzel.argparse4j.impl.choice.RangeArgumentChoice
-
Creates object using range [min
, max
], inclusive.
- ReflectArgumentType<T> - Class in eu.tneitzel.argparse4j.impl.type
-
This implementation converts String value into given type using type's
valueOf(java.lang.String)
static method or its constructor.
- ReflectArgumentType(Class<T>) - Constructor for class eu.tneitzel.argparse4j.impl.type.ReflectArgumentType
-
- ReflectHelper - Class in eu.tneitzel.argparse4j.helper
-
This class provides helper functions related to reflection.
- removePrefix(String) - Method in class eu.tneitzel.argparse4j.helper.PrefixPattern
-
Removes prefixChars from given flag string.
- require() - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Require an option at runtime.
- requireAllOf(IOption...) - Static method in interface eu.tneitzel.argparse4j.global.IOption
-
Require that each of the specified options has an value assigned.
- required(boolean) - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
If true
is given, this named argument must be specified in
command line otherwise error will be issued.
- required(boolean) - Method in interface eu.tneitzel.argparse4j.inf.MutuallyExclusiveGroup
-
If true
is given, one of the arguments in this group must be
specified otherwise error will be issued.
- required(boolean) - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
-
- required(boolean) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- requiredOptions - Variable in exception eu.tneitzel.argparse4j.global.exceptions.RequirementException
-
- RequirementAllOfException - Exception in eu.tneitzel.argparse4j.global.exceptions
-
Exception that is thrown if missing arguments are encountered in an
requireAllOf call.
- RequirementAllOfException(IOption[]) - Constructor for exception eu.tneitzel.argparse4j.global.exceptions.RequirementAllOfException
-
Constructor containing the required options.
- RequirementException - Exception in eu.tneitzel.argparse4j.global.exceptions
-
RequirementFailedException is thrown if a require function was used on
an option and the requirement failed.
- RequirementException(IOption...) - Constructor for exception eu.tneitzel.argparse4j.global.exceptions.RequirementException
-
Initialize the exception with the list of required options.
- RequirementOneOfException - Exception in eu.tneitzel.argparse4j.global.exceptions
-
Exception that is thrown if missing arguments are encountered in an
requireOneOf call.
- RequirementOneOfException(IOption[]) - Constructor for exception eu.tneitzel.argparse4j.global.exceptions.RequirementOneOfException
-
Constructor containing the required options.
- requireOneOf(IOption...) - Static method in interface eu.tneitzel.argparse4j.global.IOption
-
Require an option or one of the other specified options at runtime.
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.AppendArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.impl.action.AppendArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.AppendConstArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.impl.action.AppendConstArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.CountArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.impl.action.CountArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.HelpArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.StoreArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.impl.action.StoreArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.StoreConstArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.impl.action.StoreConstArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.StoreFalseArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.impl.action.StoreFalseArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.StoreTrueArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.impl.action.StoreTrueArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in class eu.tneitzel.argparse4j.impl.action.VersionArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentAction
-
- run(ArgumentParser, Argument, Map<String, Object>, String, Object, Consumer<Object>) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentAction
-
Executes this action.
- run(ArgumentParserImpl, Map<String, Object>, String, Object, Consumer<Object>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- setCJKWidthHack(boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- setConst(Object) - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Sets constant values that are not read from the command line but are
required for the various actions.
- setConst(E...) - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Sets list of constant values that are not read from the command line but
are required for the various actions.
- setConst(Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- setConst(E...) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- setDefault(Object) - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Sets value which should be used if the command line argument is not
present.
- setDefault(E...) - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Sets list of values which should be used if the command line argument is
not present.
- setDefault(FeatureControl) - Method in interface eu.tneitzel.argparse4j.inf.Argument
-
Sets special value to control default value handling.
- setDefault(String, Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Sets parser-level default value of attribute dest
.
- setDefault(String, Object) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
-
- setDefault(Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- setDefault(E...) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- setDefault(FeatureControl) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
-
- setDefault(String, Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- setDefault(String, Object) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- setDefaults(Map<String, Object>) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Sets parser-level default values from attrs
.
- setDefaults(Map<String, Object>) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
-
- setDefaults(Map<String, Object>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- setDefaults(Map<String, Object>) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- setNoDestConversionForPositionalArgs(boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- setSingleMetavar(boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- setTerminalWidthDetection(boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
-
- setValue(T) - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Set the value of an option.
- setValue(T, T) - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Set the option value to the specified value or to the specified default, if the value is null.
- setValue(Namespace, T) - Method in interface eu.tneitzel.argparse4j.global.IOption
-
Set an option value according to the user specified command line.
- singleMetavar(boolean) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
-
If singleMetavar is true
, a metavar string in help message is
only shown after the last flag instead of each flag.
- store() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Returns store action.
- StoreArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
-
Argument action to store argument value.
- StoreArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.StoreArgumentAction
-
- storeConst() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Returns storeConst action.
- StoreConstArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
-
- StoreConstArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.StoreConstArgumentAction
-
- storeFalse() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Returns storeFalse action.
- StoreFalseArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
-
Argument action to store value false
.
- StoreFalseArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.StoreFalseArgumentAction
-
- storeTrue() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Returns storeTrue action.
- StoreTrueArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
-
Argument action to store value true
.
- StoreTrueArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.StoreTrueArgumentAction
-
- StringArgumentType - Class in eu.tneitzel.argparse4j.impl.type
-
Specialized to String type, just echos back given string.
- StringArgumentType() - Constructor for class eu.tneitzel.argparse4j.impl.type.StringArgumentType
-
- subject - Variable in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl.Candidate
-
- Subparser - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines Subparser used to add sub-command to
ArgumentParser
.
- SubparserContainer - Interface in eu.tneitzel.argparse4j.inf
-
A container to which subparsers can be added.
- SubparserGroup - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines a method to conceptually group up
Subparser
objects.
- SubparserGroupImpl - Class in eu.tneitzel.argparse4j.internal
-
The application code must not use this class directly.
- SubparserImpl - Class in eu.tneitzel.argparse4j.internal
-
The application code must not use this class directly.
- Subparsers - Interface in eu.tneitzel.argparse4j.inf
-
This interface defines Subparsers which used to add
Subparser
.
- SubparsersImpl - Class in eu.tneitzel.argparse4j.internal
-
The application code must not use this class directly.
- SUPPRESS - Static variable in class eu.tneitzel.argparse4j.impl.Arguments
-
- valueOf(String) - Static method in enum eu.tneitzel.argparse4j.DefaultSettings
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.tneitzel.argparse4j.inf.FeatureControl
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum eu.tneitzel.argparse4j.DefaultSettings
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum eu.tneitzel.argparse4j.inf.FeatureControl
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify(ArgumentParser, Argument, File) - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyCanCreate() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path is writable.
- verifyCanCreate() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is writable.
- verifyCanCreate - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyCanExecute() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path is executable.
- verifyCanExecute() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is executable.
- verifyCanExecute - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyCanRead() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path is readable.
- verifyCanRead() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is readable.
- verifyCanRead - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyCanWrite() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path is writable.
- verifyCanWrite() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is writable.
- verifyCanWrite - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyCanWriteParent() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the parent directory of the specified path is writable.
- verifyCanWriteParent() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the parent directory of the specified path is writable.
- verifyCanWriteParent - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyExists() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path exists.
- verifyExists() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path exists.
- verifyExists - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyIsAbsolute() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path is an absolute path.
- verifyIsAbsolute() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is an absolute path.
- verifyIsAbsolute - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyIsDirectory() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path is a directory.
- verifyIsDirectory() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is a directory.
- verifyIsDirectory - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyIsFile() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path is a regular file.
- verifyIsFile() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is a regular file.
- verifyIsFile - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- verifyNotExists() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
-
Verifies that the specified path does not exist.
- verifyNotExists() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path does not exist.
- verifyNotExists - Variable in class eu.tneitzel.argparse4j.impl.type.FileVerification
-
- version() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
-
Returns version action.
- version(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
-
Sets version string.
- version(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
-
- version(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
-
- version(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
-
- VersionArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
-
Argument action to print version message and exit program.
- VersionArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.VersionArgumentAction
-