How do I parse command line arguments in Java?

前端 未结 19 1707
终归单人心
终归单人心 2020-11-22 00:16

What is a good way of parsing command line arguments in Java?

19条回答
  •  無奈伤痛
    2020-11-22 00:38

    Take a look at the more recent JCommander.

    I created it. I’m happy to receive questions or feature requests.

提交回复
热议问题