Java programming dynamics, Part 3, Applied reflection

Building a framework for command line arguments

From the developerWorks archives

Dennis Sosnoski

Date archived: December 19, 2016 | First published: July 15, 2003

Command line argument processing is one of those nasty chores that seems to keep coming around no matter how many times you've dealt with it in the past. Rather than writing variations of the same code over and over, why not use reflection to simplify the job of argument processing? Java consultant Dennis Sosnoski shows you how. In this article, Dennis outlines an open source library that makes command line arguments practically handle themselves.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java development
ArticleID=10838
ArticleTitle=Java programming dynamics, Part 3: Applied reflection
publish-date=07152003