共用方式為


Java.Nio.FileNio.Attributes Namespace

Classes

AclEntry

An entry in an access control list (ACL).

AclEntry.Builder

A builder of AclEntry objects.

AclEntryFlag

Defines the flags for used by the flags component of an ACL AclEntry entry.

AclEntryPermission

Defines the permissions for use with the permissions component of an ACL AclEntry entry.

AclEntryType

A typesafe enumeration of the access control entry types.

FileTime

Represents the value of a file's time stamp attribute.

PosixFilePermission

Defines the bits for use with the PosixFileAttributes#permissions() permissions attribute.

PosixFilePermissions

This class consists exclusively of static methods that operate on sets of PosixFilePermission objects.

UserPrincipalLookupService

An object to lookup user and group principals by name.

UserPrincipalNotFoundException

Checked exception thrown when a lookup of UserPrincipal fails because the principal does not exist.

Interfaces

IAclFileAttributeView

A file attribute view that supports reading or updating a file's Access Control Lists (ACL) or file owner attributes.

IAttributeView

An object that provides a read-only or updatable <em>view</em> of non-opaque values associated with an object in a filesystem.

IBasicFileAttributes

Basic attributes associated with a file in a file system.

IBasicFileAttributeView

A file attribute view that provides a view of a <em>basic set</em> of file attributes common to many file systems.

IDosFileAttributes

File attributes associated with a file in a file system that supports legacy "DOS" attributes.

IDosFileAttributeView

A file attribute view that provides a view of the legacy "DOS" file attributes.

IFileAttribute

An object that encapsulates the value of a file attribute that can be set atomically when creating a new file or directory by invoking the java.nio.file.Files#createFile createFile or java.nio.file.Files#createDirectory createDirectory methods.

IFileAttributeView

An attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem.

IFileOwnerAttributeView

A file attribute view that supports reading or updating the owner of a file.

IFileStoreAttributeView

An attribute view that is a read-only or updatable view of the attributes of a java.nio.file.FileStore.

IGroupPrincipal

A UserPrincipal representing a <em>group identity</em>, used to determine access rights to objects in a file system.

IPosixFileAttributes

File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.

IPosixFileAttributeView

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.

IUserDefinedFileAttributeView

A file attribute view that provides a view of a file's user-defined attributes, sometimes known as <em>extended attributes</em>.

IUserPrincipal

A Principal representing an identity used to determine access rights to objects in a file system.