Package com.google.zxing.common
Enum CharacterSetECI
- All Implemented Interfaces:
Serializable
,Comparable<CharacterSetECI>
,java.lang.constant.Constable
Encapsulates a Character Set ECI, according to "Extended Channel Interpretations" 5.3.1.1
of ISO 18004.
- Author:
- Sean Owen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CharacterSetECI
static CharacterSetECI
getCharacterSetECIByValue
(int value) int
getValue()
static CharacterSetECI
Returns the enum constant of this type with the specified name.static CharacterSetECI[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Cp437
-
ISO8859_1
-
ISO8859_2
-
ISO8859_3
-
ISO8859_4
-
ISO8859_5
-
ISO8859_6
-
ISO8859_7
-
ISO8859_8
-
ISO8859_9
-
ISO8859_10
-
ISO8859_11
-
ISO8859_13
-
ISO8859_14
-
ISO8859_15
-
ISO8859_16
-
SJIS
-
Cp1250
-
Cp1251
-
Cp1252
-
Cp1256
-
UnicodeBigUnmarked
-
UTF8
-
ASCII
-
Big5
-
GB18030
-
EUC_KR
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 int getValue() -
getCharacterSetECIByValue
- Parameters:
value
- character set ECI value- Returns:
CharacterSetECI
representing ECI of given value, or null if it is legal but unsupported- Throws:
FormatException
- if ECI value is invalid
-
getCharacterSetECIByName
- Parameters:
name
- character set ECI encoding name- Returns:
- CharacterSetECI representing ECI for character encoding, or null if it is legal but unsupported
-