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.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).
|
Class and Description |
---|
Path
An object that may be used to locate a file in a file system.
|
Class and Description |
---|
OpenOption
An object that configures how to open or create a file.
|
Path
An object that may be used to locate a file in a file system.
|
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.
|
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
An object that may be used to locate a file in a file system.
|
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.
|
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.
|
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.
|
LinkOption
Defines the options as to how symbolic links are handled.
|
OpenOption
An object that configures how to open or create a file.
|
Path
An object that may be used to locate a file in a file system.
|
Class and Description |
---|
Path
An object that may be used to locate a file in a file system.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.