【文件属性】:
文件名称:args:Java中命令行参数解析的可重用解决方案
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-06 05:15:25
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
----src()
--------com()
----LICENSE(11KB)
----README.md(725B)