If you want to find out the java class corresponding to any command, just
peek inside "src/bin/nutch" script and at the bottom you would find a
switch case with a case corresponding to each command. For 2.x, here are
the important classes:

"inject" -> org.apache.nutch.crawl.InjectorJob
"generate" -> org.apache.nutch.crawl.GeneratorJob
"fetch" -> org.apache.nutch.fetcher.FetcherJob
"parse" -> org.apache.nutch.parse.ParserJob
"updatedb" -> org.apache.nutch.crawl.DbUpdaterJob

Create a separate launcher for each of these. Running these without any i/p
parameters would show you the usage of these commands.

Reply via email to