Package net.webpdf.wsclient.openapi
Enum OperationOcr.LanguageEnum
- java.lang.Object
-
- java.lang.Enum<OperationOcr.LanguageEnum>
-
- net.webpdf.wsclient.openapi.OperationOcr.LanguageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationOcr.LanguageEnum>
- Enclosing class:
- OperationOcr
public static enum OperationOcr.LanguageEnum extends Enum<OperationOcr.LanguageEnum>
Used to specify the language for the output document (PDF/image). The language must be defined for the character recognition operation (OCR) so that the \"special characters\" of the respective language (e.g. \"üäö\" in German) can be recognized better. At present, the following languages are supported: * eng = English * fra = French * spa = Spanish * deu = German * ita = Italian
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationOcr.LanguageEnumfromValue(String value)StringgetValue()StringtoString()static OperationOcr.LanguageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationOcr.LanguageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENG
public static final OperationOcr.LanguageEnum ENG
-
DEU
public static final OperationOcr.LanguageEnum DEU
-
FRA
public static final OperationOcr.LanguageEnum FRA
-
ITA
public static final OperationOcr.LanguageEnum ITA
-
SPA
public static final OperationOcr.LanguageEnum SPA
-
-
Method Detail
-
values
public static OperationOcr.LanguageEnum[] 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 (OperationOcr.LanguageEnum c : OperationOcr.LanguageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationOcr.LanguageEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationOcr.LanguageEnum>
-
fromValue
public static OperationOcr.LanguageEnum fromValue(String value)
-
-