# java.nio.file.attribute

### Interfaces

|---|---|
| [AclFileAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclFileAttributeView.html) | A file attribute view that supports reading or updating a file's Access Control Lists (ACL) or file owner attributes. |
| [AttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AttributeView.html) | An object that provides a read-only or updatable *view* of non-opaque values associated with an object in a filesystem. |
| [BasicFileAttributes](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/BasicFileAttributes.html) | Basic attributes associated with a file in a file system. |
| [BasicFileAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/BasicFileAttributeView.html) | A file attribute view that provides a view of a *basic set* of file attributes common to many file systems. |
| [DosFileAttributes](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/DosFileAttributes.html) | File attributes associated with a file in a file system that supports legacy "DOS" attributes. |
| [DosFileAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/DosFileAttributeView.html) | A file attribute view that provides a view of the legacy "DOS" file attributes. |
| [FileAttribute](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/FileAttribute.html)\<T\> | 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 `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Files.html#createFile(java.nio.file.Path,%20java.nio.file.attribute.FileAttribute<?>...)` or `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Files.html#createDirectory(java.nio.file.Path,%20java.nio.file.attribute.FileAttribute<?>...)` methods. |
| [FileAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/FileAttributeView.html) | An attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem. |
| [FileOwnerAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/FileOwnerAttributeView.html) | A file attribute view that supports reading or updating the owner of a file. |
| [FileStoreAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/FileStoreAttributeView.html) | An attribute view that is a read-only or updatable view of the attributes of a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileStore.html`. |
| [GroupPrincipal](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/GroupPrincipal.html) | A `UserPrincipal` representing a *group identity*, used to determine access rights to objects in a file system. |
| [PosixFileAttributes](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/PosixFileAttributes.html) | File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards. |
| [PosixFileAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/PosixFileAttributeView.html) | 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. |
| [UserDefinedFileAttributeView](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/UserDefinedFileAttributeView.html) | A file attribute view that provides a view of a file's user-defined attributes, sometimes known as *extended attributes*. |
| [UserPrincipal](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/UserPrincipal.html) | A `Principal` representing an identity used to determine access rights to objects in a file system. |

### Classes

|---|---|
| [AclEntry](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntry.html) | An entry in an access control list (ACL). |
| [AclEntry.Builder](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntry.Builder.html) | A builder of `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntry.html` objects. |
| [PosixFilePermissions](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/PosixFilePermissions.html) | This class consists exclusively of static methods that operate on sets of `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/PosixFilePermission.html` objects. |
| [UserPrincipalLookupService](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/UserPrincipalLookupService.html) | An object to lookup user and group principals by name. |

### Enums

|---|---|
| [AclEntryFlag](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntryFlag.html) | Defines the flags for used by the flags component of an ACL `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntry.html`. |
| [AclEntryPermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntryPermission.html) | Defines the permissions for use with the permissions component of an ACL `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntry.html`. |
| [AclEntryType](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/AclEntryType.html) | A typesafe enumeration of the access control entry types. |
| [PosixFilePermission](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/PosixFilePermission.html) | Defines the bits for use with the `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/PosixFileAttributes.html#permissions()` attribute. |

### Exceptions

|---|---|
| [UserPrincipalNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/UserPrincipalNotFoundException.html) | Checked exception thrown when a lookup of `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/UserPrincipal.html` fails because the principal does not exist. |