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 TypeMethodDescriptionArgumentParserBuilder.build()static ArgumentParserArgumentParsers.newArgumentParser(String prog) Deprecated.This is not thread safe.static ArgumentParserArgumentParsers.newArgumentParser(String prog, boolean addHelp) Deprecated.This is not thread safe.static ArgumentParserArgumentParsers.newArgumentParser(String prog, boolean addHelp, String prefixChars) Deprecated.This is not thread safe.static ArgumentParserArgumentParsers.newArgumentParser(String prog, boolean addHelp, String prefixChars, String fromFilePrefix) Deprecated.This is not thread safe. -
Uses of ArgumentParser in net.sourceforge.argparse4j.ext.java7
Methods in net.sourceforge.argparse4j.ext.java7 with parameters of type ArgumentParserModifier and TypeMethodDescriptionPathArgumentType.convert(ArgumentParser parser, Argument arg, String value) -
Uses of ArgumentParser in net.sourceforge.argparse4j.helper
Methods in net.sourceforge.argparse4j.helper with parameters of type ArgumentParserModifier and TypeMethodDescriptionprivate static StringTypeNameLocalization.localizeTypeName(ArgumentParser parser, Class<?> type) static StringTypeNameLocalization.localizeTypeNameIfPossible(ArgumentParser parser, Class<?> type) Constructors in net.sourceforge.argparse4j.helper with parameters of type ArgumentParser -
Uses of ArgumentParser in net.sourceforge.argparse4j.impl.action
Methods in net.sourceforge.argparse4j.impl.action with parameters of type ArgumentParserModifier and TypeMethodDescriptionvoidAppendArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidAppendArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidAppendConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidAppendConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidCountArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidCountArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidHelpArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidStoreConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidStoreFalseArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreFalseArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidStoreTrueArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreTrueArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidVersionArgumentAction.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 TypeMethodDescriptionBooleanArgumentType.convert(ArgumentParser parser, Argument arg, String value) CaseInsensitiveEnumArgumentType.convert(ArgumentParser parser, Argument arg, String value) ConstructorArgumentType.convert(ArgumentParser parser, Argument arg, String value) Deprecated.EnumArgumentType.convert(ArgumentParser parser, Argument arg, String value) Deprecated.EnumStringArgumentType.convert(ArgumentParser parser, Argument arg, String value) FileArgumentType.convert(ArgumentParser parser, Argument arg, String value) ReflectArgumentType.convert(ArgumentParser parser, Argument arg, String value) StringArgumentType.convert(ArgumentParser parser, Argument arg, String value) private TReflectArgumentType.convertUsingConstructor(ArgumentParser parser, Argument arg, String value) private voidReflectArgumentType.throwArgumentParserException(ArgumentParser parser, Argument arg, String value, Throwable t) private voidFileVerification.throwException(ArgumentParser parser, Argument arg, File file, String messageKey) voidFileVerification.verify(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanCreate(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanExecute(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanRead(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanWrite(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanWriteParent(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyExists(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsAbsolute(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsDirectory(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsFile(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyNotExists(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyPermissions(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyPresenceAndType(ArgumentParser parser, Argument arg, File file) -
Uses of ArgumentParser in net.sourceforge.argparse4j.inf
Subinterfaces of ArgumentParser in net.sourceforge.argparse4j.infModifier and TypeInterfaceDescriptioninterfaceThis interface defines Subparser used to add sub-command toArgumentParser.Fields in net.sourceforge.argparse4j.inf declared as ArgumentParserMethods 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 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) Convertsvalueto appropriate type.voidArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) Deprecated.Does not provide the flexibility to let the parser and/or argument decide how the value is stored.default voidArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) 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 classThe application code must not use this class directly.final classThe application code must not use this class directly.Constructors in net.sourceforge.argparse4j.internal with parameters of type ArgumentParserModifierConstructorDescriptionUnrecognizedArgumentException(String message, ArgumentParser parser, String argument) UnrecognizedCommandException(String message, ArgumentParser parser, String command)