Sdílet prostřednictvím


Java.Nio.Charset Namespace

Classes

CharacterCodingException

Checked exception thrown when a character encoding or decoding error occurs.

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.

CoderMalfunctionError

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

CoderResult

A description of the result state of a coder.

CodingErrorAction

A typesafe enumeration for coding-error actions.

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.

StandardCharsets

Constant definitions for the standard Charset Charsets.

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.