args:Java中命令行参数解析的可重用解决方案
参数Java中命令行参数解析的可重用解决方案用法// Initiate the arguments engine. ArgsEngine engine = new ArgsEngine (); // Configure the switches/options. Use true for valued options. engine . add( " -q " , " --quiet " ); engine . add( " -o " , " --redirect-output " , true ); engine . add( " -h " , " --help " ); // Perform the parsing. The 'args' is the String[] received by main method. engine . parse(args); // Star
文件列表
args-master.zip
(预估有个3文件)
args-master
src
com
adarshr
args
ArgsEngine.java
10KB
LICENSE
11KB
README.md
725B
暂无评论