Package com.pdftools.ocr
Class Processor.Warning
- java.lang.Object
-
- java.util.EventObject
-
- com.pdftools.ocr.Processor.Warning
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Processor
public static class Processor.Warning extends java.util.EventObjectEvent for warnings occurring during OCR processing
Non-critical issues during processing are reported via this event. It is recommended to review theWarningCategoryand handle warnings if necessary for the application.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WarningCategorygetCategory()The category of the warningjava.lang.StringgetContext()A description of the context where the warning occurredjava.lang.StringgetMessage()The message describing the warningintgetPageNo()The page number this warning is associated to, or0if not page-specific
-
-
-
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, or0if not page-specific
-
getContext
public java.lang.String getContext()
A description of the context where the warning occurred
-
-