public class MrzHelper
extends java.lang.Object
| Constructor and Description |
|---|
MrzHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
check(java.lang.String text,
MrzType type)
Checks the validity of a single line of an MRZ of a given type by checking the check digits.
|
static StringDict |
decode(java.lang.String text,
MrzType type)
Decodes an MRZ of a given type and returns the values of the various fields.
|
public static boolean check(java.lang.String text,
MrzType type)
throws DocumentException
text - The input MRZ line.type - The input MRZ type according to ICAO-9303 standard.DocumentException - An error has occurred during Document Library execution.public static StringDict decode(java.lang.String text, MrzType type) throws DocumentException
text - The input MRZ.type - The input MRZ type according to ICAO-9303 standard.DocumentException - An error has occurred during Document Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document