private static final String VERSION_OPTION_KEY = "version";
private static final String HELP_OPTION_KEY = "help";
private static final String TEST_OPTION_KEY = "test";
private static final String PLAN_FILE_OPTION_KEY = "planfile";
private static final Options OPTIONS = new Options();
static {
OPTIONS.addOption(new Option(VERSION_OPTION_KEY,
"print the version information and exit"));
OPTIONS.addOption(new Option(HELP_OPTION_KEY, "print this message"));
OPTIONS.addOption(new Option(TEST_OPTION_KEY, "run embedded TestCase suite"));
}
public static void main(String[] args_) {
LOG.debug("args_->{}", Arrays.toString(args_));
try {
CommandLineParser parser = new PosixParser();
CommandLine line = parser.parse(OPTIONS, args_);
if (line.hasOption(VERSION_OPTION_KEY))
printVersion();
else if (line.hasOption(HELP_OPTION_KEY))
printHelp();
else if (line.hasOption(TEST_OPTION_KEY))
runTestCases();
else
printInvalidArguments(args_);
commons CLI is very easy to use.
webs services & designs in affordable price for your Product to boost your Business.....
ReplyDeletenhl jerseys
ReplyDeletecoach outlet
adidas stan smith
superdry shirts
coach factory outlet online
swarovski crystal jewelry
longchamp outlet
adidas uk
ugg slippers
michael kors outlet online
2017.10.26chenlixiang
mishka clothing
ReplyDeleteugg sale
longchamp
nike cortez
cheap replica watches
new balance shoes
superdry clothing
wedding shoes
prada bags
hollister clothing
chenlina20181105
Thanks for sharing a worthy information. This is really helpful. Keep doing more.
ReplyDeleteSpoken English Classes in Chennai
Spoken English Class in Chennai
Spoken English in Chennai
IELTS Training in Chennai
IELTS Chennai
Best English Speaking Classes in Mumbai
Spoken English Classes in Mumbai
IELTS Mumbai
IELTS Coaching in Anna Nagar
Spoken English Class in T Nagar
f7l41k6y94 m8j60m1z98 c9x32y4v53 g8v43g6a35 v6a98x9q01 o4k34i2b14
ReplyDeleteThe TronLink offers a simple-to-use interface incorporated with highly responsive client service, making the wallet perfect for new cryptocurrency investors.
ReplyDeleteTronLink Wallet
Koala wallet is a great option for your digital wallet needs, whether you want to trade cryptocurrencies, keep your assets safely, or just learn more about the world of cryptocurrency.
ReplyDeleteKoala Wallet