CmdLineParser provides a command line option parsing API that can be used inside Java(>=1.5) programs.
Right now, it supports following option formats:
CmdLineParser already provides a basic set on different Options to parse the value from:
CmdLineParser also gives you the possibility to escape characters like whitespaces using following escape characters:
"this string contains whitespaces!"
this\ string\ contains\ whitespaces!
Last but not least, CmdLineParser has a build in option dependency and option clashing system! You can define options that require other options to be set and also you can define options that are only valid, if another option is not set. For more details, take a look at the examples to get started! Example of Usage