public enum Encoding extends Enum<Encoding>
| Enum Constant and Description |
|---|
CP_850 |
ISO_8859_1 |
ISO_8859_15 |
ISO_8859_5 |
UTF_8 |
| Modifier and Type | Method and Description |
|---|---|
Charset |
toCharset() |
static Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encoding UTF_8
public static final Encoding ISO_8859_1
public static final Encoding ISO_8859_5
public static final Encoding ISO_8859_15
public static final Encoding CP_850
public static Encoding[] values()
for (Encoding c : Encoding.values()) System.out.println(c);
public static Encoding 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 Charset toCharset()
Copyright © 2015 Objectos Software LTDA. All rights reserved.