public class OCRDocumentService extends Object
The service expects a valid Rest API end-point defined by the Environment Parameter 'TIKA_SERVICE_ENDPONT'. If the TIKA_SERVICE_ENDPONT is not set, then the service will be skipped.
The environment parameter 'TIKA_SERVICE_MODE' must be set to 'auto' to enable the service.
See also the project: https://github.com/imixs/imixs-docker/tree/master/tika
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENCODING |
static String |
ENV_TIKA_OCR_MODE |
static String |
ENV_TIKA_SERVICE_ENDPOINT |
static String |
ENV_TIKA_SERVICE_MODE |
static String |
PLUGIN_ERROR |
| Constructor and Description |
|---|
OCRDocumentService() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBeforeProcess(org.imixs.workflow.engine.ProcessingEvent processingEvent)
React on the ProcessingEvent.
|
public static final String DEFAULT_ENCODING
public static final String PLUGIN_ERROR
public static final String ENV_TIKA_SERVICE_ENDPOINT
public static final String ENV_TIKA_SERVICE_MODE
public static final String ENV_TIKA_OCR_MODE
public void onBeforeProcess(@Observes
org.imixs.workflow.engine.ProcessingEvent processingEvent)
throws org.imixs.workflow.exceptions.PluginException
org.imixs.workflow.exceptions.PluginExceptionCopyright © 2016–2020 Imixs Software Solutions GmbH. All rights reserved.