Class Charsets (1.44.2)

public final class Charsets

Deprecated. use java.nio.charset.StandardCharsets

Contains constant definitions for some standard Charset instances that are guaranteed to be supported by all Java platform implementations.

NOTE: this is a copy of a subset of Guava's com.google.common.base.Charsets. The implementation must match as closely as possible to Guava's implementation.

Inheritance

java.lang.Object > Charsets

Static Fields

ISO_8859_1 (deprecated)

public static final Charset ISO_8859_1

ISO-8859-1 charset.

Field Value
Type Description
Charset

UTF_8 (deprecated)

public static final Charset UTF_8

UTF-8 charset.

Field Value
Type Description
Charset