Charset
and its relevant classes.
Modifier and Type | Field and Description |
---|---|
private static final Charset[] | |
public static final Charset | ISO_8859_1
ISO Latin Alphabet No. |
public static final Charset | US_ASCII
7-bit ASCII, as known as ISO646-US or the Basic Latin block of the Unicode character set |
public static final Charset | UTF_16
16-bit UTF (UCS Transformation Format) whose byte order is identified by an optional byte-order mark |
public static final Charset | UTF_16BE
16-bit UTF (UCS Transformation Format) whose byte order is big-endian |
public static final Charset | UTF_16LE
16-bit UTF (UCS Transformation Format) whose byte order is little-endian |
public static final Charset | UTF_8
8-bit UTF (UCS Transformation Format) |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static CharsetDecoder | Returns: The decoder for the specifiedcharset The specified charset charset, CodingErrorAction The decoder's action for malformed-input errors malformedInputAction, CodingErrorAction The decoder's action for unmappable-character errors unmappableCharacterAction)Returns a new |
public static CharsetDecoder | Returns: The decoder for the specifiedcharset The specified charset charset, CodingErrorAction The decoder's action for malformed-input and unmappable-character errors codingErrorAction)Returns a new |
public static CharsetDecoder | Returns: The decoder for the specifiedcharset The specified charset charset)Returns a cached thread-local |
public static CharsetEncoder | Returns: The encoder for the specifiedcharset The specified charset charset, CodingErrorAction The encoder's action for malformed-input errors malformedInputAction, CodingErrorAction The encoder's action for unmappable-character errors unmappableCharacterAction)Returns a new |
public static CharsetEncoder | Returns: The encoder for the specifiedcharset The specified charset charset, CodingErrorAction The encoder's action for malformed-input and unmappable-character errors codingErrorAction)Returns a new |
public static CharsetEncoder | Returns: The encoder for the specifiedcharset The specified charset charset)Returns a cached thread-local |
public static CharsetDecoder | |
public static CharsetEncoder | |
public static Charset[] |
CHARSETS | back to summary |
---|---|
private static final Charset[] CHARSETS |
ISO_8859_1 | back to summary |
---|---|
public static final Charset ISO_8859_1 ISO Latin Alphabet No. 1, as known as ISO-LATIN-1 |
US_ASCII | back to summary |
---|---|
public static final Charset US_ASCII 7-bit ASCII, as known as ISO646-US or the Basic Latin block of the Unicode character set |
UTF_16 | back to summary |
---|---|
public static final Charset UTF_16 16-bit UTF (UCS Transformation Format) whose byte order is identified by an optional byte-order mark |
UTF_16BE | back to summary |
---|---|
public static final Charset UTF_16BE 16-bit UTF (UCS Transformation Format) whose byte order is big-endian |
UTF_16LE | back to summary |
---|---|
public static final Charset UTF_16LE 16-bit UTF (UCS Transformation Format) whose byte order is little-endian |
UTF_8 | back to summary |
---|---|
public static final Charset UTF_8 8-bit UTF (UCS Transformation Format) |
CharsetUtil | back to summary |
---|---|
private CharsetUtil() |
decoder | back to summary |
---|---|
public static CharsetDecoder decoder(Charset charset, CodingErrorAction malformedInputAction, CodingErrorAction unmappableCharacterAction) Returns a new
|
decoder | back to summary |
---|---|
public static CharsetDecoder decoder(Charset charset, CodingErrorAction codingErrorAction) Returns a new
|
decoder | back to summary |
---|---|
public static CharsetDecoder decoder(Charset charset) Returns a cached thread-local
|
encoder | back to summary |
---|---|
public static CharsetEncoder encoder(Charset charset, CodingErrorAction malformedInputAction, CodingErrorAction unmappableCharacterAction) Returns a new
|
encoder | back to summary |
---|---|
public static CharsetEncoder encoder(Charset charset, CodingErrorAction codingErrorAction) Returns a new
|
encoder | back to summary |
---|---|
public static CharsetEncoder encoder(Charset charset) Returns a cached thread-local
|
getDecoder | back to summary |
---|---|
public static CharsetDecoder getDecoder(Charset charset)
Deprecated Use
|
getEncoder | back to summary |
---|---|
public static CharsetEncoder getEncoder(Charset charset)
Deprecated Use
|
values | back to summary |
---|---|
public static Charset[] values() |