Class ZonalOCRProcessor

  • All Implemented Interfaces:
    Runnable

    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 String NAME  
      • Fields inherited from class com.logicaldoc.core.task.Task

        STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.logicaldoc.core.document.dao.DocumentDAO getDocumentDao()  
      ZonalOCR getZonalOCR()  
      void setDocumentDao​(com.logicaldoc.core.document.dao.DocumentDAO documentDao)  
      void setZonalOCR​(ZonalOCR zonalOCR)  
      • 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, setConfig, setLockManager, setReportRecipients, setSendActivityReport, setSender, setSize, setSystemLoadMonitor, setUserDao
    • Method Detail

      • 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)
        Overrides:
        setDocumentDao in class com.logicaldoc.core.task.AbstractDocumentProcessor