# Uses of Package
java.nio.file

Packages that use java.nio.file
Package
Description
java.io
Provides for system input and output through data streams, serialization and the file system.
java.lang.module
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.
java.net
Provides the classes for implementing networking applications.
java.net.http
HTTP Client and WebSocket APIs
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.file
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
java.nio.file.spi
Service-provider classes for the `java.nio.file` package.
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.
javax.tools
Provides interfaces for tools which can be invoked from a program, for example, compilers.
jdk.incubator.foreign
Classes to support low-level and efficient foreign memory/function access, directly from Java.
jdk.jfr
This package provides classes to create events and control Flight Recorder.
jdk.jfr.consumer
This package contains classes for consuming Flight Recorder data.
jdk.management.jfr
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).

- Classes in java.nio.file used by java.io
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by java.lang.module
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by java.net
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by java.net.http
  Class
  Description
  OpenOption
  An object that configures how to open or create a file.
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by java.nio.channels
  Class
  Description
  OpenOption
  An object that configures how to open or create a file.
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by java.nio.file
  Class
  Description
  AccessMode
  Defines access modes used to test the accessibility of a file.
  CopyOption
  An object that configures how to copy or move a file.
  DirectoryStream
  An object to iterate over the entries in a directory.
  DirectoryStream.Filter
  An interface that is implemented by objects that decide if a directory entry should be accepted or filtered.
  FileStore
  Storage for files.
  FileSystem
  Provides an interface to a file system and is the factory for objects to access files and other objects in the file system.
  FileSystemException
  Thrown when a file system operation fails on one or two files.
  FileVisitOption
  Defines the file tree traversal options.
  FileVisitor
  A visitor of files.
  FileVisitResult
  The result type of a `FileVisitor`.
  LinkOption
  Defines the options as to how symbolic links are handled.
  OpenOption
  An object that configures how to open or create a file.
  Path
  An object that may be used to locate a file in a file system.
  PathMatcher
  An interface that is implemented by objects that perform match operations on paths.
  SecureDirectoryStream
  A `DirectoryStream` that defines operations on files that are located relative to an open directory.
  StandardCopyOption
  Defines the standard copy options.
  StandardOpenOption
  Defines the standard open options.
  Watchable
  An object that may be registered with a watch service so that it can be watched for changes and events.
  WatchEvent
  An event or a repeated event for an object that is registered with a `WatchService`.
  WatchEvent.Kind
  An event kind, for the purposes of identification.
  WatchEvent.Modifier
  An event modifier that qualifies how a `Watchable` is registered with a `WatchService`.
  WatchKey
  A token representing the registration of a `watchable` object with a `WatchService`.
  WatchService
  A watch service that watches registered objects for changes and events.
- Classes in java.nio.file used by java.nio.file.spi
  Class
  Description
  AccessMode
  Defines access modes used to test the accessibility of a file.
  CopyOption
  An object that configures how to copy or move a file.
  DirectoryStream
  An object to iterate over the entries in a directory.
  DirectoryStream.Filter
  An interface that is implemented by objects that decide if a directory entry should be accepted or filtered.
  FileStore
  Storage for files.
  FileSystem
  Provides an interface to a file system and is the factory for objects to access files and other objects in the file system.
  LinkOption
  Defines the options as to how symbolic links are handled.
  OpenOption
  An object that configures how to open or create a file.
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by java.util
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by javax.tools
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by jdk.incubator.foreign
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by jdk.jfr
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by jdk.jfr.consumer
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.
- Classes in java.nio.file used by jdk.management.jfr
  Class
  Description
  Path
  An object that may be used to locate a file in a file system.