首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 基于注释的方式简单的解析成java类将命令行参数

基于注释的方式简单的解析成java类将命令行参数

资 源 简 介

ArgsInjector takes the pain out of parsing args.md command line parameters for Java command line utilities. It also produces a help for your program. Just annotate the class member variables of your main program class with @Argument and @Switch and ArgsInjector will parse the command line arguments and inject the arguments into those variables. The arguments can have any primitive or wrapped datatype including String and and String arrays for variable number of arguments. Arguments and switches can be either mandatory or optional. Switches by default get their name from the variable, but can have another name and even a one character alias. Switches can be in any order. ArgsInjector can also enforce that certain switches are specified together or not specified together. Finally, ArgsInjector is small, easy to learn to use and with a liberal license. Enjoy!

文 件 列 表

dist
.DS_Store
ArgsInjector.jar
example
javadoc
README.TXT

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

  • bigfatcat1977 3天前 成为了本站会员

  • just4down 3天前 成为了本站会员

  • shallow 3天前 成为了本站会员

0.177202s