Class Processor.Warning

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Processor

    public static class Processor.Warning
    extends java.util.EventObject

    Event for warnings occurring during OCR processing

    Non-critical issues during processing are reported via this event. It is recommended to review the WarningCategory and handle warnings if necessary for the application.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      WarningCategory getCategory()
      The category of the warning
      java.lang.String getContext()
      A description of the context where the warning occurred
      java.lang.String getMessage()
      The message describing the warning
      int getPageNo()
      The page number this warning is associated to, or 0 if not page-specific
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        The message describing the warning
      • getCategory

        public WarningCategory getCategory()
        The category of the warning
      • getPageNo

        public int getPageNo()
        The page number this warning is associated to, or 0 if not page-specific
      • getContext

        public java.lang.String getContext()
        A description of the context where the warning occurred