Uses of Package java.nio.charset (Java Platform SE 8 )
Date: 2026-04-17

# Uses of Package
java.nio.charset

- Packages that use java.nio.charset
  Package | Description
  --- | ---
  java.io | Provides for system input and output through data streams, serialization and the file system.
  java.lang | Provides classes that are fundamental to the design of the Java programming language.
  java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
  java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.
  java.nio.charset.spi | Service-provider classes for the ``java.nio.charset`` package.
  java.nio.file | Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
  java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats.
  javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers.

- Classes in java.nio.charset used by java.io
  Class and Description
  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.

- Classes in java.nio.charset used by java.lang
  Class and Description
  Charset A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes.

- Classes in java.nio.charset used by java.nio.channels
  Class and Description
  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.

- Classes in java.nio.charset used by java.nio.charset
  Class and Description
  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.
  CoderResult A description of the result state of a coder.
  CodingErrorAction A typesafe enumeration for coding-error actions.

- Classes in java.nio.charset used by java.nio.charset.spi
  Class and Description
  Charset A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes.

- Classes in java.nio.charset used by java.nio.file
  Class and Description
  Charset A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes.

- Classes in java.nio.charset used by java.util.zip
  Class and Description
  Charset A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes.

- Classes in java.nio.charset used by javax.tools
  Class and Description
  Charset A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.