Class ZonalOCRProcessor

java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.core.task.AbstractDocumentProcessor
com.logicaldoc.zonalocr.ZonalOCRProcessor
All Implemented Interfaces:
Runnable

@Component("zonalOCRProcessor") public class ZonalOCRProcessor extends com.logicaldoc.core.task.AbstractDocumentProcessor
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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.logicaldoc.core.task.Task

    STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
  • Method Summary

    Modifier and Type
    Method
    Description
    com.logicaldoc.core.document.DocumentDAO
     
     
    void
    setDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao)
     
    void
     

    Methods inherited from class com.logicaldoc.core.task.AbstractDocumentProcessor

    isConcurrent, isIndeterminate

    Methods inherited from class com.logicaldoc.core.task.Task

    addTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setReportRecipients, setSendActivityReport, setSize

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • getZonalOCR

      public ZonalOCR getZonalOCR()
    • setZonalOCR

      public void setZonalOCR(ZonalOCR zonalOCR)
    • getDocumentDao

      public com.logicaldoc.core.document.DocumentDAO getDocumentDao()
    • setDocumentDao

      public void setDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao)
      Overrides:
      setDocumentDao in class com.logicaldoc.core.task.AbstractDocumentProcessor