Package com.drew.lang
Class Charsets
- java.lang.Object
-
- com.drew.lang.Charsets
-
public final class Charsets extends java.lang.Object
Holds a set of commonly used character encodings. Newer JDKs include java.nio.charset.StandardCharsets, but we cannot use that in this library.
-
-
Field Summary
Fields Modifier and Type Field Description static java.nio.charset.Charset
ASCII
static java.nio.charset.Charset
ISO_8859_1
static java.nio.charset.Charset
UTF_16
static java.nio.charset.Charset
UTF_16BE
static java.nio.charset.Charset
UTF_16LE
static java.nio.charset.Charset
UTF_8
static java.nio.charset.Charset
WINDOWS_1252
-
Constructor Summary
Constructors Constructor Description Charsets()
-
-
-
Field Detail
-
UTF_8
public static final java.nio.charset.Charset UTF_8
-
UTF_16
public static final java.nio.charset.Charset UTF_16
-
ISO_8859_1
public static final java.nio.charset.Charset ISO_8859_1
-
ASCII
public static final java.nio.charset.Charset ASCII
-
UTF_16BE
public static final java.nio.charset.Charset UTF_16BE
-
UTF_16LE
public static final java.nio.charset.Charset UTF_16LE
-
WINDOWS_1252
public static final java.nio.charset.Charset WINDOWS_1252
-
-