Package com.logicaldoc.zonalocr
Class ZonalOCRProcessor
- java.lang.Object
-
- com.logicaldoc.core.task.Task
-
- com.logicaldoc.zonalocr.ZonalOCRProcessor
-
- All Implemented Interfaces:
Runnable
public class ZonalOCRProcessor extends com.logicaldoc.core.task.Task
This task processes all the documents using the Zonal OCR. Only those documents that declare an OCR template will be processd- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.logicaldoc.util.config.ContextProperties
getConfig()
com.logicaldoc.core.document.dao.DocumentDAO
getDocumentDao()
ZonalOCR
getZonalOCR()
boolean
isConcurrent()
boolean
isIndeterminate()
void
setConfig(com.logicaldoc.util.config.ContextProperties config)
void
setDocumentDao(com.logicaldoc.core.document.dao.DocumentDAO documentDao)
void
setZonalOCR(ZonalOCR zonalOCR)
-
Methods inherited from class com.logicaldoc.core.task.Task
addTaskListener, getCompletionPercentage, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setLockManager, setReportRecipients, setSendActivityReport, setSender, setSize, setSystemLoadMonitor, setUserDao
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isIndeterminate
public boolean isIndeterminate()
- Specified by:
isIndeterminate
in classcom.logicaldoc.core.task.Task
-
isConcurrent
public boolean isConcurrent()
- Specified by:
isConcurrent
in classcom.logicaldoc.core.task.Task
-
getZonalOCR
public ZonalOCR getZonalOCR()
-
setZonalOCR
public void setZonalOCR(ZonalOCR zonalOCR)
-
getDocumentDao
public com.logicaldoc.core.document.dao.DocumentDAO getDocumentDao()
-
setDocumentDao
public void setDocumentDao(com.logicaldoc.core.document.dao.DocumentDAO documentDao)
-
getConfig
public com.logicaldoc.util.config.ContextProperties getConfig()
- Overrides:
getConfig
in classcom.logicaldoc.core.task.Task
-
setConfig
public void setConfig(com.logicaldoc.util.config.ContextProperties config)
- Overrides:
setConfig
in classcom.logicaldoc.core.task.Task
-
-