java.nio.file.spi (Java SE 17 & JDK 17)
Description: declaration: module: java.base, package: java.nio.file.spi
Keywords: java.nio.file.spi package

Module java.base

# Package java.nio.file.spi

package java.nio.file.spi
Service-provider classes for the `java.nio.file` package.

Only developers who are defining new file system providers or file type detectors should need to make direct use of this package.

Unless otherwise noted, passing a `null` argument to a constructor or method in any class or interface in this package will cause a `NullPointerException` to be thrown. In some cases methods which are specified to throw an `IOException` may throw a more specific optional specific exception.

Since:
  1.7

- Related Packages
  Package
  Description
  java.nio.file
  Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
  java.nio.file.attribute
  Interfaces and classes providing access to file and file system attributes.
- Classes
  Class
  Description
  FileSystemProvider
  Service-provider class for file systems.
  FileTypeDetector
  A file type detector for probing a file to guess its file type.