Want to transfer database to database and i put on my options:
CommandLineParser parser = new BasicParser();
Options definedOptions = new Options();
When option is added then if i parse
cmd = parser.parse(definedOptions, args);
and if i do:
It is not reading DTD subcommand and is just taking single character option like -u or -i
Could anyone please help on this?
Joined: Jul 29, 2010
Junilu Lacar wrote:
Azrael Noor wrote:so acc to your why it is better to use apache api?
Same reason you would go to the store and buy a pot for cooking rather than make your own pot. What's more, it's open source so you don't even have to pay for it.
Junilu i mean to say why it is better to use Apache API in context of Using Apache API vs other API's
like in Common CLI we have args4j, TE-Code command line parsing, CLAJR (Command-Line Arguments with Java Reflection), JArgs, JSAP (Java Simple Argument Processor) etc.
why person opts Apache?
Joined: Mar 22, 2005
If you were to do a compare of those APIs, it would certainly be interesting to hear about your findings.