Class 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
    • 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.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
    • Method Detail

      • isIndeterminate

        public boolean isIndeterminate()
        Specified by:
        isIndeterminate in class com.logicaldoc.core.task.Task
      • isConcurrent

        public boolean isConcurrent()
        Specified by:
        isConcurrent in class com.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 class com.logicaldoc.core.task.Task
      • setConfig

        public void setConfig​(com.logicaldoc.util.config.ContextProperties config)
        Overrides:
        setConfig in class com.logicaldoc.core.task.Task