Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Parsing the command line

Reply
Thread Tools

Parsing the command line

 
 
lordy
Guest
Posts: n/a
 
      06-26-2006
What is the "Best Practice" for parsing the commandline (GNU sytle) with
Java 1.4 in a commercial project ?

Jakarka Commons CLI?
Jargs?
Re-invent wheel?
Other?

Cheers,
Lordy
 
Reply With Quote
 
 
 
 
Dale King
Guest
Posts: n/a
 
      06-28-2006
lordy wrote:
> What is the "Best Practice" for parsing the commandline (GNU sytle) with
> Java 1.4 in a commercial project ?
>
> Jakarka Commons CLI?
> Jargs?
> Re-invent wheel?
> Other?


Not sure there is a "best practice" but another choice to add to your
list is the Java version of GNU's getopt:

http://www.urbanophile.com/arenn/hacking/download.html

This is a good choice if you are porting a C app to Java that used getopt.

--
Dale King
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] argparse 0.5 - Command-line parsing library Steven Bethard Python 0 01-17-2007 02:22 AM
[ANN] argparse 0.4 - Command-line parsing library Steven Bethard Python 0 01-05-2007 12:45 AM
[ANN] argparse 0.3 - Command-line parsing library Steven Bethard Python 0 12-05-2006 05:36 PM
[ANN] argparse 0.2 - Command-line parsing library Steven Bethard Python 0 10-24-2006 04:13 PM
[ANN] argparse 0.1 - Command-line parsing library Steven Bethard Python 1 10-10-2006 11:06 PM



Advertisments