Enum OcrLanguages
- java.lang.Object
-
- java.lang.Enum<OcrLanguages>
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.OcrLanguages
-
- All Implemented Interfaces:
Serializable
,Comparable<OcrLanguages>
public enum OcrLanguages extends Enum<OcrLanguages>
Defines values for OcrLanguages.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AR
Enum value ar.CS
Enum value cs.DA
Enum value da.DE
Enum value de.EL
Enum value el.EN
Enum value en.ES
Enum value es.FI
Enum value fi.FR
Enum value fr.HU
Enum value hu.IT
Enum value it.JA
Enum value ja.KO
Enum value ko.NB
Enum value nb.NL
Enum value nl.PL
Enum value pl.PT
Enum value pt.RO
Enum value ro.RU
Enum value ru.SK
Enum value sk.SR_CYRL
Enum value sr-Cyrl.SR_LATN
Enum value sr-Latn.SV
Enum value sv.TR
Enum value tr.UNK
Enum value unk.ZH_HANS
Enum value zh-Hans.ZH_HANT
Enum value zh-Hant.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OcrLanguages
fromString(String value)
Parses a serialized value to a OcrLanguages instance.String
toString()
static OcrLanguages
valueOf(String name)
Returns the enum constant of this type with the specified name.static OcrLanguages[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNK
public static final OcrLanguages UNK
Enum value unk.
-
ZH_HANS
public static final OcrLanguages ZH_HANS
Enum value zh-Hans.
-
ZH_HANT
public static final OcrLanguages ZH_HANT
Enum value zh-Hant.
-
CS
public static final OcrLanguages CS
Enum value cs.
-
DA
public static final OcrLanguages DA
Enum value da.
-
NL
public static final OcrLanguages NL
Enum value nl.
-
EN
public static final OcrLanguages EN
Enum value en.
-
FI
public static final OcrLanguages FI
Enum value fi.
-
FR
public static final OcrLanguages FR
Enum value fr.
-
DE
public static final OcrLanguages DE
Enum value de.
-
EL
public static final OcrLanguages EL
Enum value el.
-
HU
public static final OcrLanguages HU
Enum value hu.
-
IT
public static final OcrLanguages IT
Enum value it.
-
JA
public static final OcrLanguages JA
Enum value ja.
-
KO
public static final OcrLanguages KO
Enum value ko.
-
NB
public static final OcrLanguages NB
Enum value nb.
-
PL
public static final OcrLanguages PL
Enum value pl.
-
PT
public static final OcrLanguages PT
Enum value pt.
-
RU
public static final OcrLanguages RU
Enum value ru.
-
ES
public static final OcrLanguages ES
Enum value es.
-
SV
public static final OcrLanguages SV
Enum value sv.
-
TR
public static final OcrLanguages TR
Enum value tr.
-
AR
public static final OcrLanguages AR
Enum value ar.
-
RO
public static final OcrLanguages RO
Enum value ro.
-
SR_CYRL
public static final OcrLanguages SR_CYRL
Enum value sr-Cyrl.
-
SR_LATN
public static final OcrLanguages SR_LATN
Enum value sr-Latn.
-
SK
public static final OcrLanguages SK
Enum value sk.
-
-
Method Detail
-
values
public static OcrLanguages[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OcrLanguages c : OcrLanguages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OcrLanguages valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static OcrLanguages fromString(String value)
Parses a serialized value to a OcrLanguages instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed OcrLanguages object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<OcrLanguages>
-
-