Uses of Interface
net.sourceforge.argparse4j.inf.ArgumentParser
Packages that use ArgumentParser
Package
Description
-
Uses of ArgumentParser in net.sourceforge.argparse4j
Methods in net.sourceforge.argparse4j that return ArgumentParserModifier and TypeMethodDescriptionstatic ArgumentParser
ArgumentParsers.newArgumentParser
(String prog) CreatesArgumentParser
with given program name.static ArgumentParser
ArgumentParsers.newArgumentParser
(String prog, boolean addHelp) CreatesArgumentParser
with given program name and addHelp.static ArgumentParser
ArgumentParsers.newArgumentParser
(String prog, boolean addHelp, String prefixChars) CreatesArgumentParser
with given program name, addHelp and prefixChars.static ArgumentParser
ArgumentParsers.newArgumentParser
(String prog, boolean addHelp, String prefixChars, String fromFilePrefix) CreatesArgumentParser
with given program name, addHelp and prefixChars. -
Uses of ArgumentParser in net.sourceforge.argparse4j.impl.action
Methods in net.sourceforge.argparse4j.impl.action with parameters of type ArgumentParserModifier and TypeMethodDescriptionvoid
AppendArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
AppendConstArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
CountArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
HelpArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
StoreArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
StoreConstArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
StoreFalseArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
StoreTrueArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) void
VersionArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) -
Uses of ArgumentParser in net.sourceforge.argparse4j.impl.type
Methods in net.sourceforge.argparse4j.impl.type with parameters of type ArgumentParserModifier and TypeMethodDescriptionConstructorArgumentType.convert
(ArgumentParser parser, Argument arg, String value) Deprecated.EnumArgumentType.convert
(ArgumentParser parser, Argument arg, String value) Deprecated.FileArgumentType.convert
(ArgumentParser parser, Argument arg, String value) ReflectArgumentType.convert
(ArgumentParser parser, Argument arg, String value) StringArgumentType.convert
(ArgumentParser parser, Argument arg, String value) -
Uses of ArgumentParser in net.sourceforge.argparse4j.inf
Subinterfaces of ArgumentParser in net.sourceforge.argparse4j.infModifier and TypeInterfaceDescriptioninterface
This interface defines Subparser used to add sub-command toArgumentParser
.Methods in net.sourceforge.argparse4j.inf that return ArgumentParserModifier and TypeMethodDescriptionArgumentParser.defaultHelp
(boolean defaultHelp) If defaultHelp istrue
, the default values of arguments are printed in help message.ArgumentParser.description
(String description) Sets the text to display before the argument help.Sets the text to display after the argument help.ArgumentParserException.getParser()
ArgumentParser.setDefault
(String dest, Object value) Sets parser-level default value of attributedest
.ArgumentParser.setDefaults
(Map<String, Object> attrs) Sets parser-level default values fromattrs
.Sets the text to display as usage line.Sets version string.Methods in net.sourceforge.argparse4j.inf with parameters of type ArgumentParserModifier and TypeMethodDescriptionArgumentType.convert
(ArgumentParser parser, Argument arg, String value) Convertsvalue
to appropriate type.void
ArgumentAction.run
(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) Executes this action.Constructors in net.sourceforge.argparse4j.inf with parameters of type ArgumentParserModifierConstructorDescriptionArgumentParserException
(String message, Throwable cause, ArgumentParser parser) ArgumentParserException
(String message, Throwable cause, ArgumentParser parser, Argument arg) ArgumentParserException
(String message, ArgumentParser parser) ArgumentParserException
(String message, ArgumentParser parser, Argument arg) ArgumentParserException
(Throwable cause, ArgumentParser parser) -
Uses of ArgumentParser in net.sourceforge.argparse4j.internal
Classes in net.sourceforge.argparse4j.internal that implement ArgumentParserModifier and TypeClassDescriptionfinal class
The application code must not use this class directly.final class
The application code must not use this class directly.Constructors in net.sourceforge.argparse4j.internal with parameters of type ArgumentParserModifierConstructorDescriptionHelpScreenException
(ArgumentParser parser) UnrecognizedArgumentException
(String message, ArgumentParser parser, String argument) UnrecognizedCommandException
(String message, ArgumentParser parser, String command)