@Generated(value="jsii-pacmak/1.42.0 (build 5f6b62c)", date="2021-11-07T11:28:38.728Z") @Stability(value=Stable) public enum Charset extends Enum<Charset>
| Modifier and Type | Method and Description |
|---|---|
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.
|
@Stability(value=Stable) public static final Charset ASCII
Any non-ASCII characters are escaped using backslash escape sequences
@Stability(value=Stable) public static final Charset UTF8
Keep original characters without using escape sequences
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 nullCopyright © 2021. All rights reserved.