java.nio.charset
Classes
| Charset |
A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes. |
| CharsetDecoder |
An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters. |
| CharsetEncoder |
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset. |
| CoderResult |
A description of the result state of a coder. |
| CodingErrorAction |
A typesafe enumeration for coding-error actions. |
| StandardCharsets |
Constant definitions for the standard |
Exceptions
| CharacterCodingException |
Checked exception thrown when a character encoding or decoding error occurs. |
| CoderMalfunctionError |
Error thrown when the |
| IllegalCharsetNameException |
Unchecked exception thrown when a string that is not a legal charset name is used as such. |
| MalformedInputException |
Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence. |
| UnmappableCharacterException |
Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence. |
| UnsupportedCharsetException |
Unchecked exception thrown when no support is available for a requested charset. |