| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
<V extends FileAttributeView |
SecureDirectoryStream.getFileAttributeView(Class
Returns a new file attribute view to access the file attributes of this directory.
|
static <V extends FileAttributeView |
Files.getFileAttributeView(Path
Returns a file attribute view of a given type.
|
<V extends FileAttributeView |
SecureDirectoryStream.getFileAttributeView(T path, Class
Returns a new file attribute view to access the file attributes of a file in this directory.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
FileStore.supportsFileAttributeView(Class
Tells whether or not this file store supports the file attributes identified by the given file attribute view.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AclFileAttributeView
A file attribute view that supports reading or updating a file's Access Control Lists (ACL) or file owner attributes.
|
interface |
BasicFileAttributeView
A file attribute view that provides a view of a
basic set of file attributes common to many file systems.
|
interface |
DosFileAttributeView
A file attribute view that provides a view of the legacy "DOS" file attributes.
|
interface |
FileOwnerAttributeView
A file attribute view that supports reading or updating the owner of a file.
|
interface |
PosixFileAttributeView
A file attribute view that provides a view of the file attributes commonly associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.
|
interface |
UserDefinedFileAttributeView
A file attribute view that provides a view of a file's user-defined attributes, sometimes known as
extended attributes.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <V extends FileAttributeView |
FileSystemProvider.getFileAttributeView(Path
Returns a file attribute view of a given type.
|