Package | Description |
---|---|
net.sourceforge.argparse4j.impl.action | |
net.sourceforge.argparse4j.impl.type | |
net.sourceforge.argparse4j.inf | |
net.sourceforge.argparse4j.internal |
Modifier and Type | Method and Description |
---|---|
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) |
void |
VersionArgumentAction.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 |
StoreConstArgumentAction.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 |
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) |
Modifier and Type | Method and Description |
---|---|
T |
ReflectArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
T |
EnumArgumentType.convert(ArgumentParser parser,
Argument arg,
String value)
Deprecated.
|
File |
FileArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
T |
ConstructorArgumentType.convert(ArgumentParser parser,
Argument arg,
String value)
Deprecated.
|
String |
StringArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
T |
EnumStringArgumentType.convert(ArgumentParser parser,
Argument arg,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
ArgumentParser.handleError(ArgumentParserException e)
Prints usage and error message.
|
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.
|
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 |
HelpScreenException |
class |
UnrecognizedArgumentException
Exception thrown when unrecognized argument is encountered.
|
class |
UnrecognizedCommandException
Exception thrown when unrecognized command is encountered.
|
Modifier and Type | Field and Description |
---|---|
ArgumentParserException |
ParseState.deferredException
Deferred exception encountered while parsing.
|
Modifier and Type | Method and Description |
---|---|
void |
ArgumentParserImpl.handleError(ArgumentParserException e) |
void |
SubparserImpl.handleError(ArgumentParserException e) |
Modifier and Type | Method and Description |
---|---|
Object |
ArgumentImpl.convert(ArgumentParserImpl parser,
String value) |
void |
SubparsersImpl.parseArg(ParseState state,
Map<String,Object> opts) |
void |
ArgumentParserImpl.parseArgs(ParseState state,
Map<String,Object> attrs) |
void |
SubparserImpl.parseArgs(ParseState state,
Map<String,Object> opts) |
Namespace |
ArgumentParserImpl.parseArgs(String[] args) |
Namespace |
SubparserImpl.parseArgs(String[] args) |
void |
ArgumentParserImpl.parseArgs(String[] args,
int offset,
Map<String,Object> attrs) |
void |
ArgumentParserImpl.parseArgs(String[] args,
Map<String,Object> attrs) |
void |
SubparserImpl.parseArgs(String[] args,
Map<String,Object> attrs) |
void |
ArgumentParserImpl.parseArgs(String[] args,
Map<String,Object> attrs,
Object userData) |
void |
SubparserImpl.parseArgs(String[] args,
Map<String,Object> attrs,
Object userData) |
void |
ArgumentParserImpl.parseArgs(String[] args,
Object userData) |
void |
SubparserImpl.parseArgs(String[] args,
Object userData) |
void |
ArgumentImpl.run(ArgumentParserImpl parser,
Map<String,Object> res,
String flag,
Object value) |
Copyright © 2012–2019. All rights reserved.