org.apache.uima.examples.cpe
Class SimpleRunCPE

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.uima.examples.cpe.SimpleRunCPE
All Implemented Interfaces:
java.lang.Runnable

public class SimpleRunCPE
extends java.lang.Thread

Main Class that runs a Collection Processing Engine (CPE). This class reads a CPE Descriptor as a command-line argument and instantiates the CPE. It also registers a callback listener with the CPE, which will print progress and statistics to System.out.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SimpleRunCPE(java.lang.String[] args)
          Constructor for the class.
 
Method Summary
static void main(java.lang.String[] args)
          main class.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleRunCPE

public SimpleRunCPE(java.lang.String[] args)
             throws java.lang.Exception
Constructor for the class.

Parameters:
args - command line arguments into the program - see class description
Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
main class.

Parameters:
args - Command line arguments - see class description
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.