Modifier and Type | Class and Description |
---|---|
class |
HelpScreenException
HelpScreenException is a subclass of ArgumentParserException.
|
Modifier and Type | Method and Description |
---|---|
void |
AppendArgumentAction.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 |
StoreFalseArgumentAction.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) |
void |
AppendConstArgumentAction.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 |
StoreTrueArgumentAction.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) |
Modifier and Type | Method and Description |
---|---|
T |
EnumStringArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
T |
CaseInsensitiveEnumArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
T |
ConstructorArgumentType.convert(ArgumentParser parser,
Argument arg,
String value)
Deprecated.
|
T |
EnumArgumentType.convert(ArgumentParser parser,
Argument arg,
String value)
Deprecated.
|
String |
StringArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
File |
FileArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
Boolean |
BooleanArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
T |
ReflectArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
void |
FileVerification.verify(ArgumentParser parser,
Argument arg,
File file) |
Modifier and Type | Method and Description |
---|---|
void |
ArgumentParser.handleError(ArgumentParserException e)
Prints usage and error message.
|
void |
ArgumentParser.handleError(ArgumentParserException e,
PrintWriter writer)
Prints usage and error message to the given writer.
|
Modifier and Type | Method and Description |
---|---|
T |
ArgumentType.convert(ArgumentParser parser,
Argument arg,
String value)
Converts
value to appropriate type. |
Namespace |
ArgumentParser.parseArgs(String[] args)
Parses command line arguments.
|
void |
ArgumentParser.parseArgs(String[] args,
Map<String,Object> attrs)
Parses command line arguments.
|
void |
ArgumentParser.parseArgs(String[] args,
Map<String,Object> attrs,
Object userData)
Parses command line arguments.
|
void |
ArgumentParser.parseArgs(String[] args,
Object userData)
Parses command line arguments.
|
Namespace |
ArgumentParser.parseKnownArgs(String[] args,
List<String> unknown)
Just like
ArgumentParser.parseArgs(String[]) , but parses only known arguments
without throwing exception for unrecognized arguments. |
void |
ArgumentParser.parseKnownArgs(String[] args,
List<String> unknown,
Map<String,Object> attrs)
Just like
ArgumentParser.parseArgs(String[], Map) , but parses only known
arguments without throwing exception for unrecognized arguments. |
void |
ArgumentParser.parseKnownArgs(String[] args,
List<String> unknown,
Map<String,Object> attrs,
Object userData)
Just like
ArgumentParser.parseArgs(String[], Map, Object) , but parses only
known arguments without throwing exception for unrecognized arguments. |
void |
ArgumentParser.parseKnownArgs(String[] args,
List<String> unknown,
Object userData)
Just like
ArgumentParser.parseArgs(String[], Object) , but parses only known
arguments without throwing exception for unrecognized arguments. |
void |
ArgumentAction.run(ArgumentParser parser,
Argument arg,
Map<String,Object> attrs,
String flag,
Object value)
Executes this action.
|
Modifier and Type | Class and Description |
---|---|
class |
UnrecognizedArgumentException
Exception thrown when unrecognized argument is encountered.
|
class |
UnrecognizedCommandException
Exception thrown when unrecognized command is encountered.
|
Modifier and Type | Method and Description |
---|---|
void |
SubparserImpl.handleError(ArgumentParserException e) |
void |
ArgumentParserImpl.handleError(ArgumentParserException e) |
void |
SubparserImpl.handleError(ArgumentParserException e,
PrintWriter writer) |
void |
ArgumentParserImpl.handleError(ArgumentParserException e,
PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
Object |
ArgumentImpl.convert(ArgumentParserImpl parser,
String value) |
void |
SubparserImpl.parseArgs(net.sourceforge.argparse4j.internal.ParseState state,
Map<String,Object> opts) |
void |
ArgumentParserImpl.parseArgs(net.sourceforge.argparse4j.internal.ParseState state,
Map<String,Object> attrs) |
Namespace |
SubparserImpl.parseArgs(String[] args) |
Namespace |
ArgumentParserImpl.parseArgs(String[] args) |
void |
SubparserImpl.parseArgs(String[] args,
Map<String,Object> attrs) |
void |
ArgumentParserImpl.parseArgs(String[] args,
Map<String,Object> attrs) |
void |
SubparserImpl.parseArgs(String[] args,
Map<String,Object> attrs,
Object userData) |
void |
ArgumentParserImpl.parseArgs(String[] args,
Map<String,Object> attrs,
Object userData) |
void |
SubparserImpl.parseArgs(String[] args,
Object userData) |
void |
ArgumentParserImpl.parseArgs(String[] args,
Object userData) |
Namespace |
SubparserImpl.parseKnownArgs(String[] args,
List<String> unknown) |
Namespace |
ArgumentParserImpl.parseKnownArgs(String[] args,
List<String> unknown) |
void |
SubparserImpl.parseKnownArgs(String[] args,
List<String> unknown,
Map<String,Object> attrs) |
void |
ArgumentParserImpl.parseKnownArgs(String[] args,
List<String> unknown,
Map<String,Object> attrs) |
void |
SubparserImpl.parseKnownArgs(String[] args,
List<String> unknown,
Map<String,Object> attrs,
Object userData) |
void |
ArgumentParserImpl.parseKnownArgs(String[] args,
List<String> unknown,
Map<String,Object> attrs,
Object userData) |
void |
SubparserImpl.parseKnownArgs(String[] args,
List<String> unknown,
Object userData) |
void |
ArgumentParserImpl.parseKnownArgs(String[] args,
List<String> unknown,
Object userData) |
void |
ArgumentImpl.run(ArgumentParserImpl parser,
Map<String,Object> res,
String flag,
Object value) |
Copyright © 2012–2017. All rights reserved.