Package io.scanbot.sdk.barcode
Enum Class CharacterEncoding
- All Implemented Interfaces:
Serializable,Comparable<CharacterEncoding>,Constable
Enumerates character encodings.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionASCII (ISO 646).Big5 (Traditional Chinese).Binary data.Windows-1250 (Eastern European).Windows-1251 (Cyrillic).Windows-1252 (Western European).Windows-1256 (Arabic).CP437 (DOS Latin US).EUC-JP (Japanese).EUC-KR (Korean).GB18030 (Simplified Chinese).GB2312 (Simplified Chinese).ISO/IEC 8859 Part 1, a.k.a.ISO/IEC 8859 Part 10, a.k.a.ISO/IEC 8859 Part 11, a.k.a.ISO/IEC 8859 Part 13, a.k.a.ISO/IEC 8859 Part 14, a.k.a.ISO/IEC 8859 Part 15, a.k.a.ISO/IEC 8859 Part 16, a.k.a.ISO/IEC 8859 Part 2, a.k.a.ISO/IEC 8859 Part 3, a.k.a.ISO/IEC 8859 Part 4, a.k.a.ISO/IEC 8859 Part 5, a.k.a.ISO/IEC 8859 Part 6, a.k.a.ISO/IEC 8859 Part 7, a.k.a.ISO/IEC 8859 Part 8, a.k.a.ISO/IEC 8859 Part 9, a.k.a.Shift JIS (Japanese).Unknown encoding.UTF16BE (UTF-16 Big Endian), a.k.a.UTF16LE (UTF-16 Little Endian).UTF32BE (UTF-32 Big Endian).UTF32LE (UTF-32 Little Endian).UTF8 (UTF-8). -
Method Summary
Modifier and TypeMethodDescriptionstatic CharacterEncodingReturns the enum constant of this class with the specified name.static CharacterEncoding[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown encoding. -
ASCII
ASCII (ISO 646). -
ISO_8859_PART1
ISO/IEC 8859 Part 1, a.k.a. Latin-1 Western European. -
ISO_8859_PART2
ISO/IEC 8859 Part 2, a.k.a. Latin-2 Central European. -
ISO_8859_PART3
ISO/IEC 8859 Part 3, a.k.a. Latin-3 South European. -
ISO_8859_PART4
ISO/IEC 8859 Part 4, a.k.a. Latin-4 North European. -
ISO_8859_PART5
ISO/IEC 8859 Part 5, a.k.a. Latin/Cyrillic. -
ISO_8859_PART6
ISO/IEC 8859 Part 6, a.k.a. Latin/Arabic. -
ISO_8859_PART7
ISO/IEC 8859 Part 7, a.k.a. Latin/Greek. -
ISO_8859_PART8
ISO/IEC 8859 Part 8, a.k.a. Latin/Hebrew. -
ISO_8859_PART9
ISO/IEC 8859 Part 9, a.k.a. Latin-5 Turkish. -
ISO_8859_PART10
ISO/IEC 8859 Part 10, a.k.a. Latin-6 Nordic. -
ISO_8859_PART11
ISO/IEC 8859 Part 11, a.k.a. Latin/Thai. -
ISO_8859_PART13
ISO/IEC 8859 Part 13, a.k.a. Latin-7 Baltic Rim. -
ISO_8859_PART14
ISO/IEC 8859 Part 14, a.k.a. Latin-8 Celtic. -
ISO_8859_PART15
ISO/IEC 8859 Part 15, a.k.a. Latin-9. -
ISO_8859_PART16
ISO/IEC 8859 Part 16, a.k.a. Latin-10 South-Eastern European. -
CP_437
CP437 (DOS Latin US). -
CP_1250
Windows-1250 (Eastern European). -
CP_1251
Windows-1251 (Cyrillic). -
CP_1252
Windows-1252 (Western European). -
CP_1256
Windows-1256 (Arabic). -
SHIFT_JIS
Shift JIS (Japanese). -
BIG_5
Big5 (Traditional Chinese). -
GB_2312
GB2312 (Simplified Chinese). -
GB_18030
GB18030 (Simplified Chinese). -
EUC_JP
EUC-JP (Japanese). -
EUC_KR
EUC-KR (Korean). -
UTF_16_BE
UTF16BE (UTF-16 Big Endian), a.k.a. UnicodeBig. -
UTF_8
UTF8 (UTF-8). -
UTF_16_LE
UTF16LE (UTF-16 Little Endian). -
UTF_32_BE
UTF32BE (UTF-32 Big Endian). -
UTF_32_LE
UTF32LE (UTF-32 Little Endian). -
BINARY
Binary data.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-