Package java.nio.charset

Class Summary
Charset A named mapping between sequences of sixteen-bit Unicode characters 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.
CoderResult.Cache  
CodingErrorAction A typesafe enumeration for coding-error actions.
 

Exception Summary
CharacterCodingException Checked exception thrown when a character encoding or decoding error occurs.
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.
 

Error Summary
CoderMalfunctionError Error thrown when the decodeLoop method of a CharsetDecoder, or the encodeLoop method of a CharsetEncoder, throws an unexpected exception.