public final class CommandParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandParser.OptionsHandler |
Constructor and Description |
---|
CommandParser(CommandParser.OptionsHandler default_handler) |
CommandParser(CommandParser.OptionsHandler default_handler,
boolean silent) |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(CommandParser.OptionsHandler h) |
int |
parse(String[] args) |
int |
parse(String[] args,
int arg) |
String |
usage(String[] args,
int arg0,
String errmsg) |
String |
usage(String[] args,
String errmsg) |
public CommandParser(CommandParser.OptionsHandler default_handler)
public CommandParser(CommandParser.OptionsHandler default_handler, boolean silent)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.