Applied reflection

228 阅读1分钟
原文链接: www.ibm.com

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.



View PDF file