public interface ArgumentsHandler
CArguments
.CArguments
Modifier and Type | Method and Description |
---|---|
void |
option(String option,
String argument)
Called when a flag or an option with an argument has been encountered.
|
void |
programArguments(String[] arguments)
Called when all program arguments, that is all arguments that do not belong to a particular option, have been collected.
|
void option(String option, String argument)
option
- Name of the flag or option.argument
- Argument to the option. A flag will have a null value.void programArguments(String[] arguments)
arguments
- Array of all program arguments. The array will be empty when no program arguments exist.Copyright © 2008–2018. All rights reserved.