# java.nio.file

### Interfaces

|---|---|
| [CopyOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/CopyOption.html) | An object that configures how to copy or move a file. |
| [DirectoryStream](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/DirectoryStream.html)\<T\> | An object to iterate over the entries in a directory. |
| [DirectoryStream.Filter](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/DirectoryStream.Filter.html)\<T\> | An interface that is implemented by objects that decide if a directory entry should be accepted or filtered. |
| [FileVisitor](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileVisitor.html)\<T\> | A visitor of files. |
| [OpenOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/OpenOption.html) | An object that configures how to open or create a file. |
| [Path](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Path.html) | An object that may be used to locate a file in a file system. |
| [PathMatcher](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/PathMatcher.html) | An interface that is implemented by objects that perform match operations on paths. |
| [SecureDirectoryStream](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/SecureDirectoryStream.html)\<T\> | A `DirectoryStream` that defines operations on files that are located relative to an open directory. |
| [Watchable](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Watchable.html) | An object that may be registered with a watch service so that it can be *watched* for changes and events. |
| [WatchEvent](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchEvent.html)\<T\> | An event or a repeated event for an object that is registered with a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchService.html`. |
| [WatchEvent.Kind](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchEvent.Kind.html)\<T\> | An event kind, for the purposes of identification. |
| [WatchEvent.Modifier](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchEvent.Modifier.html) | An event modifier that qualifies how a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Watchable.html` is registered with a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchService.html`. |
| [WatchKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchKey.html) | A token representing the registration of a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Watchable.html` object with a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchService.html`. |
| [WatchService](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/WatchService.html) | A watch service that *watches* registered objects for changes and events. |

### Classes

|---|---|
| [Files](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Files.html) | This class consists exclusively of static methods that operate on files, directories, or other types of files. |
| [FileStore](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileStore.html) | Storage for files. |
| [FileSystem](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystem.html) | Provides an interface to a file system and is the factory for objects to access files and other objects in the file system. |
| [FileSystems](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystems.html) | Factory methods for file systems. |
| [LinkPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/LinkPermission.html) | The `Permission` class for link creation operations. |
| [Paths](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Paths.html) | This class consists exclusively of static methods that return a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Path.html` by converting a path string or `https://developers.google.com/j2objc/javadoc/jre/reference/java/net/URI.html`. |
| [SimpleFileVisitor](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/SimpleFileVisitor.html)\<T\> | A simple visitor of files with default behavior to visit all files and to re-throw I/O errors. |
| [StandardWatchEventKinds](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/StandardWatchEventKinds.html) | Defines the *standard* event kinds. |

### Enums

|---|---|
| [AccessMode](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/AccessMode.html) | Defines access modes used to test the accessibility of a file. |
| [FileVisitOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileVisitOption.html) | Defines the file tree traversal options. |
| [FileVisitResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileVisitResult.html) | The result type of a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileVisitor.html`. |
| [LinkOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/LinkOption.html) | Defines the options as to how symbolic links are handled. |
| [StandardCopyOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/StandardCopyOption.html) | Defines the standard copy options. |
| [StandardOpenOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/StandardOpenOption.html) | Defines the standard open options. |

### Exceptions

|---|---|
| [AccessDeniedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/AccessDeniedException.html) | Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check. |
| [AtomicMoveNotSupportedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/AtomicMoveNotSupportedException.html) | Checked exception thrown when a file cannot be moved as an atomic file system operation. |
| [ClosedDirectoryStreamException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ClosedDirectoryStreamException.html) | Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed. |
| [ClosedFileSystemException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ClosedFileSystemException.html) | Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed. |
| [ClosedWatchServiceException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ClosedWatchServiceException.html) | Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed. |
| [DirectoryIteratorException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/DirectoryIteratorException.html) | Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory. |
| [DirectoryNotEmptyException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/DirectoryNotEmptyException.html) | Checked exception thrown when a file system operation fails because a directory is not empty. |
| [FileAlreadyExistsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileAlreadyExistsException.html) | Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists. |
| [FileSystemAlreadyExistsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemAlreadyExistsException.html) | Runtime exception thrown when an attempt is made to create a file system that already exists. |
| [FileSystemException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemException.html) | Thrown when a file system operation fails on one or two files. |
| [FileSystemLoopException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemLoopException.html) | Checked exception thrown when a file system loop, or cycle, is encountered. |
| [FileSystemNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemNotFoundException.html) | Runtime exception thrown when a file system cannot be found. |
| [InvalidPathException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/InvalidPathException.html) | Unchecked exception thrown when path string cannot be converted into a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Path.html` because the path string contains invalid characters, or the path string is invalid for other file system specific reasons. |
| [NoSuchFileException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/NoSuchFileException.html) | Checked exception thrown when an attempt is made to access a file that does not exist. |
| [NotDirectoryException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/NotDirectoryException.html) | Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory. |
| [NotLinkException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/NotLinkException.html) | Checked exception thrown when a file system operation fails because a file is not a symbolic link. |
| [ProviderMismatchException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ProviderMismatchException.html) | Unchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider. |
| [ProviderNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ProviderNotFoundException.html) | Runtime exception thrown when a provider of the required type cannot be found. |
| [ReadOnlyFileSystemException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ReadOnlyFileSystemException.html) | Unchecked exception thrown when an attempt is made to update an object associated with a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystem.html#isReadOnly()` `FileSystem`. |