What is the best way of parsing many complex comma

2019-04-06 04:42发布

I have used getopt in Python and was hoping there would be something similar in Java.

Please give a reason why your answer is better than the others.

4条回答
The star\"
2楼-- · 2019-04-06 05:29

https://github.com/kohsuke/args4j -- has pretty good features PLUS MIT license

查看更多
乱世女痞
3楼-- · 2019-04-06 05:37

Look at Java Simple Argument Parser. Very mature and feature complete argument parser for Java. JSAP

查看更多
\"骚年 ilove
4楼-- · 2019-04-06 05:44

I use Jewelcli and it's quite good.

You can also find a discussion of different available libraries here.

查看更多
登录 后发表回答