The Jakarta Commons CLI library provides a simple and easy to use API for working with the command line arguments and options. WWW: http://jakarta.apache.org/commons/cli/