|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.uimacpp.UimacppEngine
public class UimacppEngine
Constructor Summary | |
---|---|
UimacppEngine()
|
Method Summary | |
---|---|
void |
batchProcessComplete()
batchProcessComplete |
void |
collectionProcessComplete()
CasConsumer collectionProcessComplete |
static void |
configureResourceManager(String workDirectory,
String dataDirectory)
Configure the TAF Resource Manager. |
static UimacppEngine |
createJTafTAE(String configFile)
create a TAF engine with a config file |
void |
destroy()
de-initializes the TAF engine. |
protected void |
finalize()
|
static String |
getErrorMessage(long errorCode)
helper function to get the error message for some TAF error ID. |
static String |
getTafJNIVersion()
helper function to get the TAF JNI version. |
boolean |
hasNext()
hasNext |
void |
next(CAS segment)
next |
void |
process(ResultSpecification rs,
CAS aCas,
boolean casIsEmpty)
process the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UimacppEngine() throws UimacppException
UimacppException
Method Detail |
---|
public static void configureResourceManager(String workDirectory, String dataDirectory) throws UimacppException
UimacppException
public static UimacppEngine createJTafTAE(String configFile) throws UimacppException
UimacppException
public void destroy() throws UimacppException
UimacppException
public void process(ResultSpecification rs, CAS aCas, boolean casIsEmpty) throws UimacppException
UimacppException
public boolean hasNext() throws UimacppException
UimacppException
public void next(CAS segment) throws UimacppException
UimacppException
public void batchProcessComplete() throws UimacppException
UimacppException
public void collectionProcessComplete() throws UimacppException
UimacppException
public static String getErrorMessage(long errorCode) throws UimacppException
UimacppException
public static String getTafJNIVersion() throws UimacppException
UimacppException
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |