public enum Country extends Enum<Country>
| Enum Constant and Description |
|---|
MADAGASCAR
Extract key details from Malagasy passport image.
|
NONE
Do not parse the recognized text.
|
USA
Extract key details from US passport image.
|
| Modifier and Type | Method and Description |
|---|---|
static Country |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Country[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Country USA
public static final Country MADAGASCAR
public static final Country NONE
public static Country[] values()
for (Country c : Country.values()) System.out.println(c);
public static Country valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 Aspose. All rights reserved.