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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic CharacterSetECIgetCharacterSetECI(Charset charset) static CharacterSetECIstatic CharacterSetECIgetCharacterSetECIByValue(int value) intgetValue()static CharacterSetECIReturns 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- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getValuepublic int getValue()
- 
getCharset
- 
getCharacterSetECI- Parameters:
- charset- Java character set object
- Returns:
- CharacterSetECI representing ECI for character encoding, or null if it is legal but unsupported
 
- 
getCharacterSetECIByValue- Parameters:
- value- character set ECI value
- Returns:
- CharacterSetECIrepresenting 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
 
 
-