to top
Android APIs
public final class

StandardCharsets

extends Object
java.lang.Object
   ↳ java.nio.charset.StandardCharsets

Class Overview

Convenient access to the most important built-in charsets.

Summary

Fields
public static final Charset ISO_8859_1 The ISO-8859-1 charset.
public static final Charset US_ASCII The US-ASCII charset.
public static final Charset UTF_16 The UTF-16 charset.
public static final Charset UTF_16BE The UTF-16BE (big-endian) charset.
public static final Charset UTF_16LE The UTF-16LE (little-endian) charset.
public static final Charset UTF_8 The UTF-8 charset.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Charset ISO_8859_1

Added in API level 19

The ISO-8859-1 charset.

public static final Charset US_ASCII

Added in API level 19

The US-ASCII charset.

public static final Charset UTF_16

Added in API level 19

The UTF-16 charset.

public static final Charset UTF_16BE

Added in API level 19

The UTF-16BE (big-endian) charset.

public static final Charset UTF_16LE

Added in API level 19

The UTF-16LE (little-endian) charset.

public static final Charset UTF_8

Added in API level 19

The UTF-8 charset.