org.carrot2.dcs.cli
Class BatchApp

java.lang.Object
  extended by org.carrot2.dcs.AppBase
      extended by org.carrot2.dcs.cli.BatchApp

public class BatchApp
extends AppBase

A command-line batch utility for processing XML documents with search results.


Field Summary
 
Fields inherited from class org.carrot2.dcs.AppBase
cliOptions, header
 
Constructor Summary
BatchApp()
           
BatchApp(String header)
           
 
Method Summary
protected  void go(org.apache.commons.cli.CommandLine options)
          Command line entry point (after parsing arguments).
protected  void initializeOptions(org.apache.commons.cli.Options options)
          Batch processor.
static void main(String[] args)
          Command line entry point (main).
protected  void printUsage()
          Print usage help.
 
Methods inherited from class org.carrot2.dcs.AppBase
getCommandName, getLogger, go, initializeContext, printHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchApp

public BatchApp()

BatchApp

public BatchApp(String header)
Method Detail

main

public static void main(String[] args)
                 throws MissingProcessException,
                        Exception
Command line entry point (main).

Throws:
MissingProcessException
Exception

go

protected final void go(org.apache.commons.cli.CommandLine options)
                 throws Exception
Command line entry point (after parsing arguments).

Specified by:
go in class AppBase
Throws:
Exception

printUsage

protected void printUsage()
Print usage help.

Overrides:
printUsage in class AppBase

initializeOptions

protected void initializeOptions(org.apache.commons.cli.Options options)
Batch processor.

Specified by:
initializeOptions in class AppBase


Copyright (c) Dawid Weiss, Stanislaw Osinski