W3cubDocs

/OpenJDK 21

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
Class Description
FileSystemProvider
Service-provider class for file systems.
FileTypeDetector
A file type detector for probing a file to guess its file type.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/nio/file/spi/package-summary.html