In short, Apache Jakarta Commons CLI provides an API for working with the command line arguments and options.
Homepage: http://jakarta.apache.org/commons/cli/