Package java.nio.charset
Class StandardCharsets
java.lang.Object
java.nio.charset.StandardCharsets
public final class StandardCharsets extends Object
Convenient access to the most important built-in charsets.
- Since:
- 1.7
-
Field Summary
Fields Modifier and Type Field Description static CharsetISO_8859_1The ISO-8859-1 charset.static CharsetUS_ASCIIThe US-ASCII charset.static CharsetUTF_16The UTF-16 charset.static CharsetUTF_16BEThe UTF-16BE (big-endian) charset.static CharsetUTF_16LEThe UTF-16LE (little-endian) charset.static CharsetUTF_8The UTF-8 charset. -
Method Summary
-
Field Details
-
ISO_8859_1
The ISO-8859-1 charset. -
US_ASCII
The US-ASCII charset. -
UTF_8
The UTF-8 charset. -
UTF_16
The UTF-16 charset. -
UTF_16BE
The UTF-16BE (big-endian) charset. -
UTF_16LE
The UTF-16LE (little-endian) charset.
-