org.apache.uima.bootstrap
Class UimaBootstrap
java.lang.Object
org.apache.uima.bootstrap.UimaBootstrap
public class UimaBootstrap
- extends java.lang.Object
Run an arbitrary "main" method in a class, after adding classes to the classpath
that are specified as libraries, or as jar files
Uses arguments:
-Dorg.apache.uima.jarpath=XXXX where XXXX is
a string of file paths to directories connected using File.pathSeparator; each
directory's contained JARs will be added to the class path.
If the directory has no Jars, then it is put in the class path directly.
The paths can also contain jar files.
The paths added are added in an arbitrary order.
The normal parent-first delegation is done
The first argument is taken to be the name of the class to launch;
that is passed the rest of the arguments.
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UimaBootstrap
public UimaBootstrap()
main
public static void main(java.lang.String[] args)
throws java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.net.MalformedURLException,
java.io.IOException,
java.net.URISyntaxException
- Parameters:
args
-
- Throws:
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.io.IOException
java.net.MalformedURLException
java.net.URISyntaxException
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.