Link Details

Link 314447 thumbnail
User 276353 avatar

By javathreads
via j2ee.ulitzer.com
Published: Dec 10 2009 / 15:45

Even in these days of sophisticated graphical user interfaces, many programs have a wide variety of command line options that help specify their behavior. It is also the case that command line only programs continue to enjoy wide use. It is also the case the command line arguments can become quite complicated, e.g.: -Djava.util.logging.config.file=All.finest -1 --list --this=that Some languages have built-in parsers for command line options; perl and bash are two obvious examples of this. Java has no such parser built in. The JCLO package provides the capability to parse several different command line option formats, and uses Java's reflecion mechanizm to both drive the parsing and assign the values provided by command line options to the variable in a specified class.
  • 7
  • 0
  • 2767
  • 2

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax