How do I parse command line arguments in Java?

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

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

19条回答
  •  青春惊慌失措
    2020-11-22 00:46

    Yeap.

    I think you're looking for something like this: http://commons.apache.org/cli

    The Apache Commons CLI library provides an API for processing command line interfaces.

提交回复
热议问题