Home » openjdk-7 » java » nio » file »

java.nio.file

Sub Packages:

java.nio.file.attribute    
java.nio.file.spi    

Interfaces:

CopyOption   An object that configures how to copy or move a file.  code | html
DirectoryStream   An object to iterate over the entries in a directory.  code | html
DirectoryStream.Filter   An interface that is implemented by objects that decide if a directory entry should be accepted or filtered.  code | html
FileVisitor   A visitor of files.  code | html
OpenOption   An object that configures how to open or create a file.  code | html
Path   An object that may be used to locate a file in a file system.  code | html
PathMatcher   An interface that is implemented by objects that perform match operations on paths.  code | html
SecureDirectoryStream   A {@code DirectoryStream} that defines operations on files that are located relative to an open directory.  code | html
WatchEvent   An event or a repeated event for an object that is registered with a WatchService code | html
WatchEvent.Kind   An event kind, for the purposes of identification.  code | html
WatchEvent.Modifier   An event modifier that qualifies how a Watchable is registered with a WatchService code | html
WatchKey   A token representing the registration of a watchable object with a WatchService code | html
WatchService   A watch service that watches registered objects for changes and events.  code | html
Watchable   An object that may be registered with a watch service so that it can be watched for changes and events.  code | html

Abstract Classes:

FileStore   Storage for files.  code | html
FileSystem   Provides an interface to a file system and is the factory for objects to access files and other objects in the file system.  code | html

Classes:

AccessMode   Defines access modes used to test the accessibility of a file.  code | html
FileVisitOption   Defines the file tree traversal options.  code | html
FileVisitResult   The result type of a FileVisitor code | html
LinkOption   Defines the options as to how symbolic links are handled.  code | html
StandardCopyOption   Defines the standard copy options.  code | html
StandardOpenOption   Defines the standard open options.  code | html
AccessDeniedException   Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.  code | html
AtomicMoveNotSupportedException   Checked exception thrown when a file cannot be moved as an atomic file system operation.  code | html
ClosedDirectoryStreamException   Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.  code | html
ClosedFileSystemException   Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.  code | html
ClosedWatchServiceException   Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.  code | html
CopyMoveHelper   Helper class to support copying or moving files when the source and target are associated with different providers.  code | html
CopyMoveHelper.CopyOptions   Parses the arguments for a file copy operation.  code | html
DirectoryIteratorException   Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory.  code | html
DirectoryNotEmptyException   Checked exception thrown when a file system operation fails because a directory is not empty.  code | html
FileAlreadyExistsException   Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.  code | html
FileSystemAlreadyExistsException   Runtime exception thrown when an attempt is made to create a file system that already exists.  code | html
FileSystemException   Thrown when a file system operation fails on one or two files.  code | html
FileSystemLoopException   Checked exception thrown when a file system loop, or cycle, is encountered.  code | html
FileSystemNotFoundException   Runtime exception thrown when a file system cannot be found.  code | html
FileSystems   Factory methods for file systems.  code | html
FileSystems.DefaultFileSystemHolder     code | html
FileTreeWalker   Simple file tree walker that works in a similar manner to nftw(3C).  code | html
FileTreeWalker.AncestorDirectory     code | html
Files   This class consists exclusively of static methods that operate on files, directories, or other types of files.  code | html
Files.FileTypeDetectors     code | html
InvalidPathException   Unchecked exception thrown when path string cannot be converted into a Path because the path string contains invalid characters, or the path string is invalid for other file system specific reasons.  code | html
LinkPermission   The {@code Permission} class for link creation operations.  code | html
NoSuchFileException   Checked exception thrown when an attempt is made to access a file that does not exist.  code | html
NotDirectoryException   Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.  code | html
NotLinkException   Checked exception thrown when a file system operation fails because a file is not a symbolic link.  code | html
Paths   This class consists exclusively of static methods that return a Path by converting a path string or URI code | html
ProviderMismatchException   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.  code | html
ProviderNotFoundException   Runtime exception thrown when a provider of the required type cannot be found.  code | html
ReadOnlyFileSystemException   Unchecked exception thrown when an attempt is made to update an object associated with a read-only {@code FileSystem}.  code | html
SimpleFileVisitor   A simple visitor of files with default behavior to visit all files and to re-throw I/O errors.  code | html
StandardWatchEventKinds   Defines the standard event kinds.  code | html
StandardWatchEventKinds.StdWatchEventKind     code | html
TempFileHelper   Helper class to support creation of temporary files and directories with initial attributes.  code | html
TempFileHelper.PosixPermissions     code | html