public enum CharacterEncoding extends Enum<CharacterEncoding>
CharacterEncoding.| Enum Constant and Description |
|---|
UTF_16
The UTF-16 character encoding.
|
UTF_8
The UTF-8 character encoding.
|
| Modifier and Type | Method and Description |
|---|---|
static CharacterEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharacterEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterEncoding UTF_8
public static final CharacterEncoding UTF_16
public static CharacterEncoding[] values()
for (CharacterEncoding c : CharacterEncoding.values()) System.out.println(c);
public static CharacterEncoding 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 nullCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.