Uses of Package java.nio (Java SE 21 & JDK 21)
Description: use: module: java.base, package: java.nio

# Uses of Package
java.nio

Packages that use java.nio
Package
Description
com.sun.nio.sctp
A Java API for Stream Control Transport Protocol.
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.lang.foreign
Provides low-level access to memory and functions outside the Java runtime.
java.lang.invoke
The `java.lang.invoke` package provides low-level primitives for interacting with the Java Virtual Machine.
java.lang.module
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.
java.net.http
HTTP Client and WebSocket APIs
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, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
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.
javax.smartcardio
Java™ Smart Card I/O API.
jdk.incubator.vector
Incubating Feature. Will be removed in a future release.

- Classes in java.nio used by com.sun.nio.sctp
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by java.io
  Class
  Description
  CharBuffer
  A char buffer.
- Classes in java.nio used by java.lang
  Class
  Description
  ByteBuffer
  A byte buffer.
  CharBuffer
  A char buffer.
- Classes in java.nio used by java.lang.foreign
  Class
  Description
  Buffer
  A container for data of a specific primitive type.
  ByteBuffer
  A byte buffer.
  ByteOrder
  A typesafe enumeration for byte orders.
- Classes in java.nio used by java.lang.invoke
  Class
  Description
  ByteOrder
  A typesafe enumeration for byte orders.
- Classes in java.nio used by java.lang.module
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by java.net.http
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by java.nio
  Class
  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
  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
  Description
  ByteBuffer
  A byte buffer.
  CharBuffer
  A char buffer.
- Classes in java.nio used by java.nio.file.attribute
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by java.security
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by java.util
  Class
  Description
  ByteBuffer
  A byte buffer.
  LongBuffer
  A long buffer.
- Classes in java.nio used by java.util.zip
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by javax.crypto
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by javax.imageio.stream
  Class
  Description
  ByteOrder
  A typesafe enumeration for byte orders.
- Classes in java.nio used by javax.net.ssl
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by javax.smartcardio
  Class
  Description
  ByteBuffer
  A byte buffer.
- Classes in java.nio used by jdk.incubator.vector
  Class
  Description
  ByteOrder
  A typesafe enumeration for byte orders.