public enum CharSet extends Enum<CharSet>
Enum Constant and Description |
---|
Big_Five
Represents Big Five encoding.
|
GB_2312
Represents GB-2312 encoding.
|
Hex
Represents raw barcode data that is hex encoded.
|
ISO_8859_1
Represents ISO-8859-1 encoding.
|
ISO_8859_2
Represents ISO-8859-2 encoding.
|
ISO_8859_7
Represents ISO-8859-7 encoding.
|
KSC_5601
Represents KSC_5601 encoding.
|
Shift_JIS
Represents Shift_JIS encoding.
|
UTF_16
Represents UTF-16 encoding (Big-Endian assumed).
|
UTF_8
Represents UTF-8 encoding.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the internal representation of the character encoding.
|
static CharSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharSet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharSet Big_Five
public static final CharSet GB_2312
public static final CharSet ISO_8859_1
public static final CharSet ISO_8859_2
public static final CharSet ISO_8859_7
public static final CharSet KSC_5601
public static final CharSet Shift_JIS
public static final CharSet UTF_16
public static final CharSet UTF_8
public static final CharSet Hex
public static CharSet[] values()
for (CharSet c : CharSet.values()) System.out.println(c);
public static CharSet valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.