public class OcrEventHandler extends Object
| Constructor and Description |
|---|
OcrEventHandler()
Initializes a new instance of the
OcrEventHandler class. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getWarnings()
Gets a list of warning messages.
|
List<String> |
getWarnings(int pageIndex)
Returns a list of warning messages for the page with
pageIndex. |
boolean |
hasWarnings()
Gets the value that indicates whether the list of warnings isn't empty.
|
void |
onWarnings(int pageIndex,
Iterable<String> warnings)
Sets warning messages for the page.
|
public OcrEventHandler()
OcrEventHandler class.public List<String> getWarnings()
public boolean hasWarnings()
true if the list of warnings isn't empty; otherwise, false.public List<String> getWarnings(int pageIndex)
pageIndex.pageIndex - The zero-based page index.Copyright © 2026. All rights reserved.