JSAP (Java Simple Argument Parser) not only
syntactically validates your program's commandline
arguments, but it converts those arguments into
objects you specify. There's a pretty big (and
growing) list of return types suppored by JSAP,
including Integers, Floats, Dates, URLs, and even
java.awt.Colors; you can also add your own in a
matter of minutes. Cascading configuration files
can provide arguments not supplied at the command
line, and a custom ANT task is included to
generate a JSAP class based on your commandline
configuration.