Class Parser
java.lang.Object
eu.svjatoslav.commons.cli_helper.parameter_parser.Parser
Single commandline parameter can have any amount of arguments.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
add
-
findParameterByAlias
Return parameter by given alias ornull
if no parameter exists for given alias.- Parameters:
alias
- parameter alias- Returns:
- found parameter or
null
if parameter was not found.
-
parse
- Parameters:
args
- commandline arguments- Returns:
true
if no errors were found.false
otherwise.
-
showHelp
public void showHelp()
-