Uses of Package java.nio (Java Platform SE 8 )
Date: 2026-01-21

# Uses of Package
java.nio

- Packages that use java.nio
  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 | Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
  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.file.attribute | Interfaces and classes providing access to file and file system attributes.
  java.security | Provides the classes and interfaces for the security framework.
  java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
  java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats.
  javax.crypto | Provides the classes and interfaces for cryptographic operations.
  javax.imageio.stream | A package of the Java Image I/O API dealing with low-level I/O from files and streams.
  javax.net.ssl | Provides classes for the secure socket package.

- Classes in java.nio used by java.io
  Class and Description
  CharBuffer A char buffer.

- Classes in java.nio used by java.lang
  Class and Description
  ByteBuffer A byte buffer.
  CharBuffer A char buffer.

- Classes in java.nio used by java.nio
  Class and Description
  Buffer A container for data of a specific primitive type.
  ByteBuffer A byte buffer.
  ByteOrder A typesafe enumeration for byte orders.
  CharBuffer A char buffer.
  DoubleBuffer A double buffer.
  FloatBuffer A float buffer.
  IntBuffer An int buffer.
  LongBuffer A long buffer.
  MappedByteBuffer A direct byte buffer whose content is a memory-mapped region of a file.
  ShortBuffer A short buffer.

- Classes in java.nio used by java.nio.channels
  Class and Description
  ByteBuffer A byte buffer.
  MappedByteBuffer A direct byte buffer whose content is a memory-mapped region of a file.

- Classes in java.nio used by java.nio.charset
  Class and Description
  ByteBuffer A byte buffer.
  CharBuffer A char buffer.

- Classes in java.nio used by java.nio.file.attribute
  Class and Description
  ByteBuffer A byte buffer.

- Classes in java.nio used by java.security
  Class and Description
  ByteBuffer A byte buffer.

- Classes in java.nio used by java.util
  Class and Description
  ByteBuffer A byte buffer.
  LongBuffer A long buffer.

- Classes in java.nio used by java.util.zip
  Class and Description
  ByteBuffer A byte buffer.

- Classes in java.nio used by javax.crypto
  Class and Description
  ByteBuffer A byte buffer.

- Classes in java.nio used by javax.imageio.stream
  Class and Description
  ByteOrder A typesafe enumeration for byte orders.

- Classes in java.nio used by javax.net.ssl
  Class and Description
  ByteBuffer A byte buffer.

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.