Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

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.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.attribute Interfaces and classes providing access to file and file system attributes. 
java.nio.file.spi Service-provider classes for the java.nio.file package. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Classes in java.nio.file used by java.io
Class and Description
Path
          A file reference that locates a file using a system dependent path.
 

Classes in java.nio.file used by java.nio.channels
Class and Description
OpenOption
          An object that configures how to open or create a file.
Path
          A file reference that locates a file using a system dependent path.
 

Classes in java.nio.file used by java.nio.file
Class and 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.
FileRef
          A reference to a file.
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
          A file reference that locates a file using a system dependent path.
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.attribute
Class and Description
FileRef
          A reference to a file.
FileStore
          Storage for files.
LinkOption
          Defines the options as to how symbolic links are handled.
 

Classes in java.nio.file used by java.nio.file.spi
Class and Description
FileRef
          A reference to a file.
FileSystem
          Provides an interface to a file system and is the factory for objects to access files and other objects in the file system.
OpenOption
          An object that configures how to open or create a file.
Path
          A file reference that locates a file using a system dependent path.
 

Classes in java.nio.file used by java.util
Class and Description
FileRef
          A reference to a file.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Submit a bug or feature

Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.