- acceptSystemIn() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
If the argument is "-", accept it as standard input.
- action(ArgumentAction) - Method in interface net.sourceforge.argparse4j.inf.Argument
-
Sets the action to be taken when this argument is encountered at the
command line.
- action(ArgumentAction) - Method in class net.sourceforge.argparse4j.internal.ArgumentImpl
-
- addArgument(String...) - Method in interface net.sourceforge.argparse4j.inf.ArgumentContainer
-
Creates new
Argument
, adds it to this container and returns it.
- addArgument(String...) - Method in class net.sourceforge.argparse4j.internal.ArgumentGroupImpl
-
- addArgument(String...) - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- addArgument(ArgumentGroupImpl, String...) - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- addArgument(String...) - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- addArgumentGroup(String) - Method in interface net.sourceforge.argparse4j.inf.ArgumentParser
-
Creates new
ArgumentGroup
object and adds to this parser and
returns the object.
- addArgumentGroup(String) - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- addArgumentGroup(String) - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- addHelp(boolean) - Method in class net.sourceforge.argparse4j.ArgumentParserBuilder
-
If true, -h/--help
are available.
- addMutuallyExclusiveGroup() - Method in interface net.sourceforge.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 net.sourceforge.argparse4j.inf.ArgumentParser
-
Creates new mutually exclusive group,
MutuallyExclusiveGroup
object, and adds to this parser and returns the object.
- addMutuallyExclusiveGroup() - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- addMutuallyExclusiveGroup(String) - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- addMutuallyExclusiveGroup() - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- addMutuallyExclusiveGroup(String) - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- addParser(String) - Method in interface net.sourceforge.argparse4j.inf.Subparsers
-
Adds and returns
Subparser
object with given sub-command name.
- addParser(String, boolean) - Method in interface net.sourceforge.argparse4j.inf.Subparsers
-
Adds and returns
Subparser
object with given sub-command name and
addHelp.
- addParser(String, boolean, String) - Method in interface net.sourceforge.argparse4j.inf.Subparsers
-
Adds and returns
Subparser
object with given sub-command name,
addHelp and prefixChars.
- addParser(String) - Method in class net.sourceforge.argparse4j.internal.SubparsersImpl
-
- addParser(String, boolean) - Method in class net.sourceforge.argparse4j.internal.SubparsersImpl
-
- addParser(String, boolean, String) - Method in class net.sourceforge.argparse4j.internal.SubparsersImpl
-
- addSubparsers() - Method in interface net.sourceforge.argparse4j.inf.ArgumentParser
-
- addSubparsers() - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- addSubparsers() - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- adjustSpace(StringBuilder, int, int) - Static method in class net.sourceforge.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 net.sourceforge.argparse4j.inf.Subparser
-
Sets alias names for this Subparser.
- aliases(String...) - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- append() - Static method in class net.sourceforge.argparse4j.impl.Arguments
-
Returns append action.
- AppendArgumentAction - Class in net.sourceforge.argparse4j.impl.action
-
Argument action to store a list.
- AppendArgumentAction() - Constructor for class net.sourceforge.argparse4j.impl.action.AppendArgumentAction
-
- appendConst() - Static method in class net.sourceforge.argparse4j.impl.Arguments
-
Returns appendConst action.
- AppendConstArgumentAction - Class in net.sourceforge.argparse4j.impl.action
-
Argument action to store a list.
- AppendConstArgumentAction() - Constructor for class net.sourceforge.argparse4j.impl.action.AppendConstArgumentAction
-
- Arg - Annotation Type in net.sourceforge.argparse4j.annotation
-
Annotation specifies location where attribute should be stored.
- Argument - Interface in net.sourceforge.argparse4j.inf
-
This interface provides a way to specify parameters to argument to be
processed in
ArgumentParser
object.
- ArgumentAction - Interface in net.sourceforge.argparse4j.inf
-
This interface defines behavior of action when an argument is encountered at
the command line.
- ArgumentChoice - Interface in net.sourceforge.argparse4j.inf
-
This interface defines simple data validation method.
- ArgumentContainer - Interface in net.sourceforge.argparse4j.inf
-
A container to which arguments can be added.
- ArgumentGroup - Interface in net.sourceforge.argparse4j.inf
-
This interface defines a method to conceptually group up
Argument
objects.
- ArgumentGroupImpl - Class in net.sourceforge.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 net.sourceforge.argparse4j.internal
-
The application code must not use this class directly.
- ArgumentParser - Interface in net.sourceforge.argparse4j.inf
-
This interface defines behavior of ArgumentParser.
- ArgumentParserBuilder - Class in net.sourceforge.argparse4j
-
ArgumentParserBuilder is a class to build new ArgumentParser with a given
custom configuration.
- ArgumentParserConfiguration - Interface in net.sourceforge.argparse4j.inf
-
ArgumentParserConfiguration is a configuration interface of ArgumentParser.
- ArgumentParserConfigurationImpl - Class in net.sourceforge.argparse4j.internal
-
- ArgumentParserConfigurationImpl(String, boolean, String, String, Locale, TextWidthCounter, int, boolean, boolean) - Constructor for class net.sourceforge.argparse4j.internal.ArgumentParserConfigurationImpl
-
- ArgumentParserException - Exception in net.sourceforge.argparse4j.inf
-
- ArgumentParserException(ArgumentParser) - Constructor for exception net.sourceforge.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, ArgumentParser) - Constructor for exception net.sourceforge.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, Throwable, ArgumentParser) - Constructor for exception net.sourceforge.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(Throwable, ArgumentParser) - Constructor for exception net.sourceforge.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, ArgumentParser, Argument) - Constructor for exception net.sourceforge.argparse4j.inf.ArgumentParserException
-
- ArgumentParserException(String, Throwable, ArgumentParser, Argument) - Constructor for exception net.sourceforge.argparse4j.inf.ArgumentParserException
-
- ArgumentParserImpl - Class in net.sourceforge.argparse4j.internal
-
The application code must not use this class directly.
- ArgumentParserImpl(ArgumentParserConfigurationImpl) - Constructor for class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- ArgumentParserImpl(ArgumentParserConfigurationImpl, String, ArgumentParserImpl) - Constructor for class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- ArgumentParserImpl.Candidate - Class in net.sourceforge.argparse4j.internal
-
- ArgumentParsers - Class in net.sourceforge.argparse4j
-
Factory class to create new ArgumentParser.
- Arguments - Class in net.sourceforge.argparse4j.impl
-
This class provides useful shortcuts and constants.
- ArgumentType<T> - Interface in net.sourceforge.argparse4j.inf
-
This interface defines type conversion method.
- ASCIITextWidthCounter - Class in net.sourceforge.argparse4j.helper
-
This implementation assumes text contains only narrow characters,
- ASCIITextWidthCounter() - Constructor for class net.sourceforge.argparse4j.helper.ASCIITextWidthCounter
-
- setCJKWidthHack(boolean) - Static method in class net.sourceforge.argparse4j.ArgumentParsers
-
- setConst(Object) - Method in interface net.sourceforge.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 net.sourceforge.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 net.sourceforge.argparse4j.internal.ArgumentImpl
-
- setConst(E...) - Method in class net.sourceforge.argparse4j.internal.ArgumentImpl
-
- setDefault(Object) - Method in interface net.sourceforge.argparse4j.inf.Argument
-
Sets value which should be used if the command line argument is not
present.
- setDefault(E...) - Method in interface net.sourceforge.argparse4j.inf.Argument
-
Sets list of values which should be used if the command line argument is
not present.
- setDefault(FeatureControl) - Method in interface net.sourceforge.argparse4j.inf.Argument
-
Sets special value to control default value handling.
- setDefault(String, Object) - Method in interface net.sourceforge.argparse4j.inf.ArgumentParser
-
Sets parser-level default value of attribute dest
.
- setDefault(String, Object) - Method in interface net.sourceforge.argparse4j.inf.Subparser
-
- setDefault(Object) - Method in class net.sourceforge.argparse4j.internal.ArgumentImpl
-
- setDefault(E...) - Method in class net.sourceforge.argparse4j.internal.ArgumentImpl
-
- setDefault(FeatureControl) - Method in class net.sourceforge.argparse4j.internal.ArgumentImpl
-
- setDefault(String, Object) - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- setDefault(String, Object) - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- setDefaults(Map<String, Object>) - Method in interface net.sourceforge.argparse4j.inf.ArgumentParser
-
Sets parser-level default values from attrs
.
- setDefaults(Map<String, Object>) - Method in interface net.sourceforge.argparse4j.inf.Subparser
-
- setDefaults(Map<String, Object>) - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- setDefaults(Map<String, Object>) - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- setNoDestConversionForPositionalArgs(boolean) - Static method in class net.sourceforge.argparse4j.ArgumentParsers
-
- setSingleMetavar(boolean) - Static method in class net.sourceforge.argparse4j.ArgumentParsers
-
- setTerminalWidthDetection(boolean) - Static method in class net.sourceforge.argparse4j.ArgumentParsers
-
- singleMetavar(boolean) - Method in class net.sourceforge.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 net.sourceforge.argparse4j.impl.Arguments
-
Returns store action.
- StoreArgumentAction - Class in net.sourceforge.argparse4j.impl.action
-
Argument action to store argument value.
- StoreArgumentAction() - Constructor for class net.sourceforge.argparse4j.impl.action.StoreArgumentAction
-
- storeConst() - Static method in class net.sourceforge.argparse4j.impl.Arguments
-
Returns storeConst action.
- StoreConstArgumentAction - Class in net.sourceforge.argparse4j.impl.action
-
- StoreConstArgumentAction() - Constructor for class net.sourceforge.argparse4j.impl.action.StoreConstArgumentAction
-
- storeFalse() - Static method in class net.sourceforge.argparse4j.impl.Arguments
-
Returns storeFalse action.
- StoreFalseArgumentAction - Class in net.sourceforge.argparse4j.impl.action
-
Argument action to store value false
.
- StoreFalseArgumentAction() - Constructor for class net.sourceforge.argparse4j.impl.action.StoreFalseArgumentAction
-
- storeTrue() - Static method in class net.sourceforge.argparse4j.impl.Arguments
-
Returns storeTrue action.
- StoreTrueArgumentAction - Class in net.sourceforge.argparse4j.impl.action
-
Argument action to store value true
.
- StoreTrueArgumentAction() - Constructor for class net.sourceforge.argparse4j.impl.action.StoreTrueArgumentAction
-
- StringArgumentType - Class in net.sourceforge.argparse4j.impl.type
-
Specialized to String type, just echos back given string.
- StringArgumentType() - Constructor for class net.sourceforge.argparse4j.impl.type.StringArgumentType
-
- subject - Variable in class net.sourceforge.argparse4j.internal.ArgumentParserImpl.Candidate
-
- Subparser - Interface in net.sourceforge.argparse4j.inf
-
This interface defines Subparser used to add sub-command to
ArgumentParser
.
- SubparserImpl - Class in net.sourceforge.argparse4j.internal
-
The application code must not use this class directly.
- Subparsers - Interface in net.sourceforge.argparse4j.inf
-
This interface defines Subparsers which used to add
Subparser
.
- SubparsersImpl - Class in net.sourceforge.argparse4j.internal
-
The application code must not use this class directly.
- SUPPRESS - Static variable in class net.sourceforge.argparse4j.impl.Arguments
-
- valueOf(String) - Static method in enum net.sourceforge.argparse4j.inf.FeatureControl
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.sourceforge.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 net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyCanCreate() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is writable.
- verifyCanCreate - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyCanExecute() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is executable.
- verifyCanExecute - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyCanRead() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is readable.
- verifyCanRead - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyCanWrite() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is writable.
- verifyCanWrite - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyCanWriteParent() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the parent directory of the specified path is writable.
- verifyCanWriteParent - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyExists() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path exists.
- verifyExists - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyIsAbsolute() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is an absolute path.
- verifyIsAbsolute - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyIsDirectory() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is a directory.
- verifyIsDirectory - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyIsFile() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path is a regular file.
- verifyIsFile - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- verifyNotExists() - Method in class net.sourceforge.argparse4j.impl.type.FileArgumentType
-
Verifies that the specified path does not exist.
- verifyNotExists - Variable in class net.sourceforge.argparse4j.impl.type.FileVerification
-
- version() - Static method in class net.sourceforge.argparse4j.impl.Arguments
-
Returns version action.
- version(String) - Method in interface net.sourceforge.argparse4j.inf.ArgumentParser
-
Sets version string.
- version(String) - Method in interface net.sourceforge.argparse4j.inf.Subparser
-
- version(String) - Method in class net.sourceforge.argparse4j.internal.ArgumentParserImpl
-
- version(String) - Method in class net.sourceforge.argparse4j.internal.SubparserImpl
-
- VersionArgumentAction - Class in net.sourceforge.argparse4j.impl.action
-
Argument action to print version message and exit program.
- VersionArgumentAction() - Constructor for class net.sourceforge.argparse4j.impl.action.VersionArgumentAction
-