Forums Register Login

Java port of getopt()

+Pie Number of slices to send: Send
I am looking for a Java port of getopt(). After a quick search at Source Forge, I found a whole list of possibilities. Does anyone have any experience with these (or any other) getopt() port? In particular, I am interested in their relative compliance to POSIX standards.

Layne
+Pie Number of slices to send: Send
I've never needed one, but I've kept CLI from the Jakarta Commons in the back of my mind should the need arise. It apparently has parser for POSIX compliant argument strings.
+Pie Number of slices to send: Send
Thanks. I originally decided to go with a Source Forge project called JArgs. However, I just downloaded Jakarta Commons CLI and will see how it compairs.

Layne
+Pie Number of slices to send: Send
I've used the gnu port successfully.

There's a link on this page:

http://www.gnu.org/software/java/packages.html

Mark
+Pie Number of slices to send: Send
 

Originally posted by Joe Ess:
I've never needed one, but I've kept CLI from the Jakarta Commons in the back of my mind should the need arise. It apparently has parser for POSIX compliant argument strings.



I've used this one in the past. It works well, although I'm not sure about POSIX compatibility.
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 878 times.
Similar Threads
need to parse command line parameters in my code
command line arguments
Java port of getopt()
Parsing main args OO style
using getopt() in Java
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:08:13.