Class ZonalOCRTool

java.lang.Object
com.logicaldoc.zonalocr.automation.ZonalOCRTool

public class ZonalOCRTool extends Object
Class to use the ZonalOCR from within the Automatin
Since:
8.4.2
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • ZonalOCRTool

      public ZonalOCRTool()
  • Method Details

    • process

      public void process(long docId, String username) throws com.logicaldoc.core.PersistenceException, IOException
      Processes a document using the OCR
      Parameters:
      docId - identifier of the document to process
      username - the current user (optional)
      Throws:
      IOException - I/O error
      com.logicaldoc.core.PersistenceException - Error in data layer