# Uses of Package
java.nio.file.attribute

- Packages that use java.nio.file.attribute
  Package | Description
  --- | ---
  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.

- Classes in java.nio.file.attribute used by java.nio.channels
  Class and Description
  FileAttribute 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 `createFile` or `createDirectory` methods.

- Classes in java.nio.file.attribute used by java.nio.file
  Class and Description
  BasicFileAttributes Basic attributes associated with a file in a file system.
  FileAttribute 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 `createFile` or `createDirectory` methods.
  FileAttributeView An attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem.
  FileStoreAttributeView An attribute view that is a read-only or updatable view of the attributes of a `FileStore`.
  FileTime Represents the value of a file's time stamp attribute.
  PosixFilePermission Defines the bits for use with the `permissions` attribute.
  UserPrincipal A `Principal` representing an identity used to determine access rights to objects in a file system.
  UserPrincipalLookupService An object to lookup user and group principals by name.

- Classes in java.nio.file.attribute used by java.nio.file.attribute
  Class and Description
  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 `entry`.
  AclEntryPermission Defines the permissions for use with the permissions component of an ACL `entry`.
  AclEntryType A typesafe enumeration of the access control entry types.
  AttributeView An object that provides a read-only or updatable view of non-opaque values associated with an object in a filesystem.
  BasicFileAttributes Basic attributes associated with a file in a file system.
  BasicFileAttributeView A file attribute view that provides a view of a basic set of file attributes common to many file systems.
  DosFileAttributes File attributes associated with a file in a file system that supports legacy "DOS" attributes.
  FileAttribute 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 `createFile` or `createDirectory` methods.
  FileAttributeView An attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem.
  FileOwnerAttributeView A file attribute view that supports reading or updating the owner of a file.
  FileTime Represents the value of a file's time stamp attribute.
  GroupPrincipal A `UserPrincipal` representing a group identity, used to determine access rights to objects in a file system.
  PosixFileAttributes File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.
  PosixFilePermission Defines the bits for use with the `permissions` attribute.
  UserPrincipal A `Principal` representing an identity used to determine access rights to objects in a file system.

- Classes in java.nio.file.attribute used by java.nio.file.spi
  Class and Description
  BasicFileAttributes Basic attributes associated with a file in a file system.
  FileAttribute 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 `createFile` or `createDirectory` methods.
  FileAttributeView An attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem.

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, 2014, Oracle and/or its affiliates. All rights reserved.