Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

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
Returns Subparsers.
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
The exception thrown from ArgumentParser.parseArgs(String[]) if error occurred while processing command line argument.
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
 

B

BooleanArgumentType - Class in eu.tneitzel.argparse4j.impl.type
BooleanArgumentType provides strict conversion from input string to Boolean value.
BooleanArgumentType() - Constructor for class eu.tneitzel.argparse4j.impl.type.BooleanArgumentType
Creates BooleanArgumentType with "true" as true value, and "false" as false value.
BooleanArgumentType(String, String) - Constructor for class eu.tneitzel.argparse4j.impl.type.BooleanArgumentType
Creates BooleanArgumentType with given values.
booleanType() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns BooleanArgumentType with "true" as true value, and "false" as false value.
booleanType(String, String) - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns BooleanArgumentType with given true/false values.
build() - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
Build the argument parser.

C

canExecute(File) - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
 
canRead(File) - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
 
canWrite(File) - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
 
CaseInsensitiveEnumArgumentType<T extends Enum<T>> - Class in eu.tneitzel.argparse4j.impl.type
 
CaseInsensitiveEnumArgumentType(Class<T>) - Constructor for class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumArgumentType
Deprecated.
Use one of the subclasses, which always convert case correctly.
CaseInsensitiveEnumArgumentType(Class<T>, Locale) - Constructor for class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumArgumentType
Create an instance.
CaseInsensitiveEnumNameArgumentType<T extends Enum<T>> - Class in eu.tneitzel.argparse4j.impl.type
ArgumentType subclass for enum type using case-insensitive matching of values.
CaseInsensitiveEnumNameArgumentType(Class<T>) - Constructor for class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumNameArgumentType
 
CaseInsensitiveEnumStringArgumentType<T extends Enum<T>> - Class in eu.tneitzel.argparse4j.impl.type
ArgumentType subclass for enum type using case-insensitive matching of values.
CaseInsensitiveEnumStringArgumentType(Class<T>) - Constructor for class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumStringArgumentType
 
caseInsensitiveEnumStringType(Class<T>) - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns CaseInsensitiveEnumStringArgumentType with given enum type.
caseInsensitiveEnumType(Class<T>) - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns CaseInsensitiveEnumNameArgumentType with given enum type.
Choices - Class in eu.tneitzel.argparse4j.global.modifiers
Choices is used to configure choices for an argument.
Choices(String...) - Constructor for class eu.tneitzel.argparse4j.global.modifiers.Choices
Configure the available choices.
choices(ArgumentChoice) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets ArgumentChoice object which inspects value so that it fulfills its criteria.
choices(Collection<E>) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets a collection of the allowable values for the argument.
choices(E...) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets a collection of the allowable values for the argument.
choices(ArgumentChoice) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
choices(Collection<E>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
choices(E...) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
CJKTextWidthCounter - Class in eu.tneitzel.argparse4j.helper
CJK aware TextWidthCounter implementation.
CJKTextWidthCounter() - Constructor for class eu.tneitzel.argparse4j.helper.CJKTextWidthCounter
 
cjkWidthHack(boolean) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
Set true to enable CJK width hack.
CollectionArgumentChoice<E> - Class in eu.tneitzel.argparse4j.impl.choice
Choice from given collection of values.
CollectionArgumentChoice(E...) - Constructor for class eu.tneitzel.argparse4j.impl.choice.CollectionArgumentChoice
Initializes this object from given values.
CollectionArgumentChoice(Collection<E>) - Constructor for class eu.tneitzel.argparse4j.impl.choice.CollectionArgumentChoice
Initializes this object from given values.
compareTo(ArgumentParserImpl.Candidate) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl.Candidate
 
concat(T[], int, String, String, String) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
 
concat(T[], int, String) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
 
concat(Collection<T>, int, String, String, String) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
 
concat(Collection<T>, int, String) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
 
ConstructorArgumentType<T> - Class in eu.tneitzel.argparse4j.impl.type
Deprecated.
Use ReflectArgumentType instead.
ConstructorArgumentType(Class<T>) - Constructor for class eu.tneitzel.argparse4j.impl.type.ConstructorArgumentType
Deprecated.
Creates ConstructorArgumentType object with given type.
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.AppendArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.AppendConstArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.CountArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.HelpArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.StoreArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.StoreConstArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.StoreFalseArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.StoreTrueArgumentAction
 
consumeArgument() - Method in class eu.tneitzel.argparse4j.impl.action.VersionArgumentAction
 
consumeArgument() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentAction
Returns true if this action consumes argument.
contains(Object) - Method in class eu.tneitzel.argparse4j.impl.choice.CollectionArgumentChoice
 
contains(Object) - Method in class eu.tneitzel.argparse4j.impl.choice.RangeArgumentChoice
 
contains(Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentChoice
Returns true iff val is valid choice according to this object's constraint.
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.BooleanArgumentType
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumArgumentType
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.ConstructorArgumentType
Deprecated.
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.EnumArgumentType
Deprecated.
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.EnumStringArgumentType
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.ReflectArgumentType
 
convert(ArgumentParser, Argument, String) - Method in class eu.tneitzel.argparse4j.impl.type.StringArgumentType
 
convert(ArgumentParser, Argument, String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentType
Converts value to appropriate type.
convert(ArgumentParserImpl, String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
count() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns count action.
CountArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
Argument action to count the occurrence of the option.
CountArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.CountArgumentAction
 

D

DEFAULT_FORMAT_WIDTH - Static variable in class eu.tneitzel.argparse4j.ArgumentParsers
Default format width of text output.
DEFAULT_PREFIX_CHARS - Static variable in class eu.tneitzel.argparse4j.ArgumentParsers
Default prefix characters.
defaultFormatWidth(int) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
Set the default format width.
defaultHelp(boolean) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
If defaultHelp is true, the default values of arguments are printed in help message.
defaultHelp(boolean) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
 
defaultHelp(boolean) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
defaultHelp(boolean) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
DefaultSettings - Enum in eu.tneitzel.argparse4j
Use one of these values with ArgumentParsers.newFor(String, DefaultSettings) to specify of which version the default settings must be used.
description(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentContainer
Sets the description for the arguments of this container.
description(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentGroup
 
description(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
 
description(String) - Method in interface eu.tneitzel.argparse4j.inf.MutuallyExclusiveGroup
 
description(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
 
description(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
Sets the text to display to briefly describe sub-commands in the help message.
description(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
 
description(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
Set text to display before the argument help.
description(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
description(String) - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
 
dest(String) - Method in interface eu.tneitzel.argparse4j.inf.Argument
The name of the attribute to be added.
dest(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
Sets the name of attribute which the selected command name is stored.
dest(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
dest(String) - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
 

E

EnumArgumentType<T extends Enum<T>> - Class in eu.tneitzel.argparse4j.impl.type
Deprecated.
Use ReflectArgumentType instead.
EnumArgumentType(Class<T>) - Constructor for class eu.tneitzel.argparse4j.impl.type.EnumArgumentType
Deprecated.
 
EnumStringArgumentType<T extends Enum<T>> - Class in eu.tneitzel.argparse4j.impl.type
ArgumentType subclass for enum type.
EnumStringArgumentType(Class<T>) - Constructor for class eu.tneitzel.argparse4j.impl.type.EnumStringArgumentType
 
enumStringType(Class<T>) - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns EnumStringArgumentType with given enum type.
enumType(Class<T>) - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Deprecated. 
epilog(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Sets the text to display after the argument help.
epilog(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
 
epilog(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
epilog(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
equals(Object) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl.Candidate
 
eu.tneitzel.argparse4j - package eu.tneitzel.argparse4j
 
eu.tneitzel.argparse4j.annotation - package eu.tneitzel.argparse4j.annotation
 
eu.tneitzel.argparse4j.ext.java7 - package eu.tneitzel.argparse4j.ext.java7
 
eu.tneitzel.argparse4j.global - package eu.tneitzel.argparse4j.global
 
eu.tneitzel.argparse4j.global.exceptions - package eu.tneitzel.argparse4j.global.exceptions
 
eu.tneitzel.argparse4j.global.modifiers - package eu.tneitzel.argparse4j.global.modifiers
 
eu.tneitzel.argparse4j.helper - package eu.tneitzel.argparse4j.helper
 
eu.tneitzel.argparse4j.impl - package eu.tneitzel.argparse4j.impl
 
eu.tneitzel.argparse4j.impl.action - package eu.tneitzel.argparse4j.impl.action
 
eu.tneitzel.argparse4j.impl.choice - package eu.tneitzel.argparse4j.impl.choice
 
eu.tneitzel.argparse4j.impl.type - package eu.tneitzel.argparse4j.impl.type
 
eu.tneitzel.argparse4j.inf - package eu.tneitzel.argparse4j.inf
 
eu.tneitzel.argparse4j.internal - package eu.tneitzel.argparse4j.internal
 
exists(File) - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
 

F

FeatureControl - Enum in eu.tneitzel.argparse4j.inf
This enum defines constants to be used throughout the argparse4j package.
FileArgumentType - Class in eu.tneitzel.argparse4j.impl.type
ArgumentType subclass for File type, using fluent style API.
FileArgumentType() - Constructor for class eu.tneitzel.argparse4j.impl.type.FileArgumentType
 
fileType() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns new FileArgumentType object.
FileVerification - Class in eu.tneitzel.argparse4j.impl.type
Verifies properties of files.
FileVerification() - Constructor for class eu.tneitzel.argparse4j.impl.type.FileVerification
 
findPrefix(Collection<String>, String) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
From src, find string whose prefix is prefix and store them in List and return it.
forEnum(Class<T>) - Static method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumNameArgumentType
Creates a CaseInsensitiveEnumNameArgumentType for the given enum type.
forEnum(Class<T>) - Static method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumStringArgumentType
Creates a CaseInsensitiveEnumStringArgumentType for the given enum type.
forEnum(Class<T>) - Static method in class eu.tneitzel.argparse4j.impl.type.EnumStringArgumentType
Creates an EnumStringArgumentType for the given enum type.
formatHelp() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Returns help message.
formatHelp() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
formatHelp() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
formatUsage() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Returns a brief description of how the program should be invoked on the command line.
formatUsage() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
formatUsage() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
formatVersion() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Returns version string.
formatVersion() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
formatVersion() - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
fromFilePrefix(String) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
The set of characters that prefix file path from which additional arguments should be read.

G

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
Get the associated ArgumentAction to an option.
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
Get the associated IArgumentModifier to an option.
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
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
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
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
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
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
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
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
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
 

H

handleError(ArgumentParserException) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Prints usage and error message.
handleError(ArgumentParserException, PrintWriter) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Prints usage and error message to the given writer.
handleError(ArgumentParserException) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
handleError(ArgumentParserException, PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
handleError(ArgumentParserException) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
handleError(ArgumentParserException, PrintWriter) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
hashCode() - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl.Candidate
 
help() - Static method in class eu.tneitzel.argparse4j.impl.Arguments
Returns help action.
help(String) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets the brief description of what the argument does.
help(FeatureControl) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets special value to control help message handling.
help(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
Sets the text to display in help message.
help(FeatureControl) - Method in interface eu.tneitzel.argparse4j.inf.Subparser
Sets special value to control help message handling.
help(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
Sets the text to display in the help message for sub-commands.
help(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
help(FeatureControl) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
help(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
help(FeatureControl) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 
help(String) - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
 
HelpArgumentAction - Class in eu.tneitzel.argparse4j.impl.action
Argument action to print help message and exit program.
HelpArgumentAction() - Constructor for class eu.tneitzel.argparse4j.impl.action.HelpArgumentAction
 
HelpScreenException - Exception in eu.tneitzel.argparse4j.helper
HelpScreenException is a subclass of ArgumentParserException.
HelpScreenException(ArgumentParser) - Constructor for exception eu.tneitzel.argparse4j.helper.HelpScreenException
 

I

IAction - Interface in eu.tneitzel.argparse4j.global
IAction represents a command line subcommand.
IActionGroup - Interface in eu.tneitzel.argparse4j.global
An IActionGroup represents an subparsers group in the context of argparse4j.
IArgumentModifier - Interface in eu.tneitzel.argparse4j.global.modifiers
The IArgumentModifier interface can be implemented by classes that configure certain argparse4j modifications like e.g.
includeArgumentNamesAsKeysInResult(boolean) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
Include the name (see below) of the argument as a key in the parse result in addition to the key in dest of the argument.
inferMetavar() - Method in class eu.tneitzel.argparse4j.impl.type.BooleanArgumentType
Infers metavar based on given strings.
inferMetavar() - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumArgumentType
Infers metavar based on given type.
inferMetavar() - Method in class eu.tneitzel.argparse4j.impl.type.EnumStringArgumentType
Infers metavar based on given type.
inferMetavar() - Method in class eu.tneitzel.argparse4j.impl.type.ReflectArgumentType
Infers metavar based on given type.
inferMetavar() - Method in interface eu.tneitzel.argparse4j.inf.MetavarInference
Returns inferred array of metavar strings.
IOption - Interface in eu.tneitzel.argparse4j.global
IOption is the interface that should be implemented by enums that contain global options.
IOptionGroup - Interface in eu.tneitzel.argparse4j.global
An IOptionGroup represents an argument group in the context of argparse4j.
isDirectory(File) - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
 
isFile(File) - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
 
isNull() - Method in interface eu.tneitzel.argparse4j.global.IOption
Return true if the value associated with the option is null.
isRequired() - Method in class eu.tneitzel.argparse4j.internal.ArgumentGroupImpl
 
isRequired() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
isSingleMetavar() - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.

L

LINESEP - Static variable in class eu.tneitzel.argparse4j.helper.TextHelper
 
list2Array(Class<?>, Object) - Static method in class eu.tneitzel.argparse4j.helper.ReflectHelper
Convert src to object of type targetType recursively
locale(Locale) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
The locale to use for messages.
LOCALE_ROOT - Static variable in class eu.tneitzel.argparse4j.helper.TextHelper
Language neutral locale.
localize(ResourceBundle, String) - Static method in class eu.tneitzel.argparse4j.helper.MessageLocalization
 
localize(ResourceBundle, String, String) - Static method in class eu.tneitzel.argparse4j.helper.MessageLocalization
 
localizeTypeNameIfPossible(ArgumentParser, Class<?>) - Static method in class eu.tneitzel.argparse4j.helper.TypeNameLocalization
 

M

main(String[]) - Static method in class eu.tneitzel.argparse4j.internal.TerminalWidth
 
mainParser_ - Variable in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
 
match(String) - Method in class eu.tneitzel.argparse4j.helper.PrefixPattern
Returns true if flag string str matches prefixChars.
matchLongFlag(String) - Method in class eu.tneitzel.argparse4j.helper.PrefixPattern
Returns true if flag string str matches prefixChars and it is long flag.
matchShortFlag(String) - Method in class eu.tneitzel.argparse4j.helper.PrefixPattern
Returns true if flag string str matches prefixChars and it is short flag, that is, its matched prefix length must be 1.
MessageLocalization - Class in eu.tneitzel.argparse4j.helper
MessageLocalization is a helper class to provide methods for localization.
MetaVar - Class in eu.tneitzel.argparse4j.global.modifiers
MetaVar is used to configure meta variables displayed by argparse4j.
MetaVar(String) - Constructor for class eu.tneitzel.argparse4j.global.modifiers.MetaVar
Configure the meta variable.
metavar(String...) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Set the name for the argument in usage messages.
metavar(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
Sets the text used to represent sub-commands in help messages.
metavar(String...) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
metavar(String) - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
 
MetavarInference - Interface in eu.tneitzel.argparse4j.inf
This interface provides a way to infer metavar strings from a context which implements this interface.
mustHelpTextIncludeMutualExclusivity(boolean) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
Add a text to the help of mutually-exclusive groups explaining that at most 1 arguments of the group may be given.
MutuallyExclusiveGroup - Interface in eu.tneitzel.argparse4j.inf
 

N

Namespace - Class in eu.tneitzel.argparse4j.inf
This class holds attributes added by ArgumentParser.parseArgs(String[]).
Namespace(Map<String, Object>) - Constructor for class eu.tneitzel.argparse4j.inf.Namespace
Construct this object using given attrs.
NArgs - Class in eu.tneitzel.argparse4j.global.modifiers
NArgs is used to indicate the argument count.
NArgs(String) - Constructor for class eu.tneitzel.argparse4j.global.modifiers.NArgs
Configure the argument cound modifier.
nargs(int) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets the number of command line arguments that should be consumed.
nargs(String) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets the number of command line arguments that should be consumed.
nargs(int) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
nargs(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
newArgumentParser(String) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
newArgumentParser(String, boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
newArgumentParser(String, boolean, String) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
newArgumentParser(String, boolean, String, String) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
newFor(String) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Creates ArgumentParserBuilder with given program name.
newFor(String, DefaultSettings) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Creates ArgumentParserBuilder with given program name and default settings.
noDestConversionForPositionalArgs(boolean) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
Do not perform any conversion to produce "dest" value (See Argument.getDest()) from positional argument name.
nonNull(String) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
 
notNull() - Method in interface eu.tneitzel.argparse4j.global.IOption
Return true if the value associated with the option is not null.

O

onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.AppendArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.AppendConstArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.CountArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.HelpArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.StoreArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.StoreConstArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.StoreFalseArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.StoreTrueArgumentAction
 
onAttach(Argument) - Method in class eu.tneitzel.argparse4j.impl.action.VersionArgumentAction
 
onAttach(Argument) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentAction
Called when ArgumentAction is added to Argument using Argument.action(ArgumentAction).
or() - Method in class eu.tneitzel.argparse4j.ext.java7.PathArgumentType
Start a new verification group.
or() - Method in class eu.tneitzel.argparse4j.impl.type.FileArgumentType
Start a new verification group.
or() - Method in class eu.tneitzel.argparse4j.impl.type.FileVerification
 

P

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
Just like ArgumentParser.parseArgs(String[]), but parses only known arguments without throwing exception for unrecognized arguments.
parseKnownArgs(String[], List<String>, Map<String, Object>) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Just like ArgumentParser.parseArgs(String[], Map), but parses only known arguments without throwing exception for unrecognized arguments.
parseKnownArgs(String[], List<String>, Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Just like ArgumentParser.parseArgs(String[], Object), but parses only known arguments without throwing exception for unrecognized arguments.
parseKnownArgs(String[], List<String>, Map<String, Object>, Object) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Just like ArgumentParser.parseArgs(String[], Map, Object), but parses only known arguments without throwing exception for unrecognized arguments.
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
Just like ArgumentParser.parseArgsOrFail(String[]), but parses only known arguments without throwing exception for unrecognized arguments.
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
 

R

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
Creates ReflectArgumentType object with given type.
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
Deprecated.
Does not provide the flexibility to let the parser and/or argument decide how the value is stored. ArgumentAction.run(ArgumentParser, Argument, Map, String, Object, Consumer) will be called instead. Existing actions should implement that method.
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
 

S

setCJKWidthHack(boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
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
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
setSingleMetavar(boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
setTerminalWidthDetection(boolean) - Static method in class eu.tneitzel.argparse4j.ArgumentParsers
Deprecated.
This is not thread safe. Use ArgumentParsers.newFor(String) instead.
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
Argument action to store the value specified by the Argument.setConst(Object).
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

T

TerminalWidth - Class in eu.tneitzel.argparse4j.internal
Returns the column width of the command line terminal from which this program was started.
TerminalWidth() - Constructor for class eu.tneitzel.argparse4j.internal.TerminalWidth
 
terminalWidthDetection(boolean) - Method in class eu.tneitzel.argparse4j.ArgumentParserBuilder
Set true to enable terminal width detection.
TextHelper - Class in eu.tneitzel.argparse4j.helper
This class provides various helper function related to text processing.
textualFormat() - Method in class eu.tneitzel.argparse4j.impl.choice.CollectionArgumentChoice
 
textualFormat() - Method in class eu.tneitzel.argparse4j.impl.choice.RangeArgumentChoice
 
textualFormat() - Method in interface eu.tneitzel.argparse4j.inf.ArgumentChoice
Return textual representation of this choice.
textualName() - Method in interface eu.tneitzel.argparse4j.inf.Argument
Returns textual representation of the argument name.
textualName() - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
TextWidthCounter - Interface in eu.tneitzel.argparse4j.helper
This interface abstracts the way of counting text width.
title(String) - Method in interface eu.tneitzel.argparse4j.inf.SubparserGroup
Sets the text to display as a title of sub-commands in the help message.
title(String) - Method in interface eu.tneitzel.argparse4j.inf.Subparsers
Sets the text to display as a title of sub-commands in the help message.
title(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
 
title(String) - Method in class eu.tneitzel.argparse4j.internal.SubparsersImpl
 
title_ - Variable in class eu.tneitzel.argparse4j.internal.SubparserGroupImpl
 
toString() - Method in class eu.tneitzel.argparse4j.impl.choice.CollectionArgumentChoice
 
toString() - Method in class eu.tneitzel.argparse4j.impl.choice.RangeArgumentChoice
 
toString() - Method in class eu.tneitzel.argparse4j.inf.Namespace
 
toStringRepresentation(T) - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumArgumentType
Convert the given enum value to its string representation.
toStringRepresentation(T) - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumNameArgumentType
 
toStringRepresentation(T) - Method in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumStringArgumentType
 
Type - Class in eu.tneitzel.argparse4j.global.modifiers
Type is used to indicate the underlying option type.
Type(Class<?>) - Constructor for class eu.tneitzel.argparse4j.global.modifiers.Type
Configure the underlying option type.
type(Class<T>) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets the type which the command line argument should be converted to.
type(ArgumentType<T>) - Method in interface eu.tneitzel.argparse4j.inf.Argument
Sets ArgumentType object which converts command line argument to appropriate type.
type(Class<T>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
type(ArgumentType<T>) - Method in class eu.tneitzel.argparse4j.internal.ArgumentImpl
 
type_ - Variable in class eu.tneitzel.argparse4j.impl.type.CaseInsensitiveEnumArgumentType
 
TypeNameLocalization - Class in eu.tneitzel.argparse4j.helper
Localization of names for argument types.

U

UnrecognizedArgumentException - Exception in eu.tneitzel.argparse4j.internal
Exception thrown when unrecognized argument is encountered.
UnrecognizedArgumentException(String, ArgumentParser, String) - Constructor for exception eu.tneitzel.argparse4j.internal.UnrecognizedArgumentException
 
UnrecognizedCommandException - Exception in eu.tneitzel.argparse4j.internal
Exception thrown when unrecognized command is encountered.
UnrecognizedCommandException(String, ArgumentParser, String) - Constructor for exception eu.tneitzel.argparse4j.internal.UnrecognizedCommandException
 
usage(String) - Method in interface eu.tneitzel.argparse4j.inf.ArgumentParser
Sets the text to display as usage line.
usage(String) - Method in class eu.tneitzel.argparse4j.internal.ArgumentParserImpl
 
usage(String) - Method in class eu.tneitzel.argparse4j.internal.SubparserImpl
 

V

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
 

W

width(String) - Method in class eu.tneitzel.argparse4j.helper.ASCIITextWidthCounter
 
width(String) - Method in class eu.tneitzel.argparse4j.helper.CJKTextWidthCounter
 
width(String) - Method in interface eu.tneitzel.argparse4j.helper.TextWidthCounter
Counts given text consumes how many fixed character width.
wrap(TextWidthCounter, String, int, int, String, String) - Static method in class eu.tneitzel.argparse4j.helper.TextHelper
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2024. All rights reserved.