Stay organized with collections
Save and categorize content based on your preferences.
FileAttributeView
interface FileAttributeView : AttributeView
Known Direct Subclasses
BasicFileAttributeView |
A file attribute view that provides a view of a basic set of file attributes common to many file systems.
|
FileOwnerAttributeView |
A file attribute view that supports reading or updating the owner of a file.
|
UserDefinedFileAttributeView |
A file attribute view that provides a view of a file's user-defined attributes, sometimes known as extended attributes.
|
|
Known Indirect Subclasses
AclFileAttributeView |
A file attribute view that supports reading or updating a file's Access Control Lists (ACL) or file owner attributes.
|
DosFileAttributeView |
A file attribute view that provides a view of the legacy "DOS" file attributes.
|
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.
|
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.
|
|
An attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem. This interface is extended or implemented by specific file attribute views that define methods to read and/or update the attributes of a file.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# FileAttributeView\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nFileAttributeView\n=================\n\n```\ninterface FileAttributeView : AttributeView\n```\n\n|------------------------------------------------|\n| [java.nio.file.attribute.FileAttributeView](#) |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [BasicFileAttributeView](/reference/kotlin/java/nio/file/attribute/BasicFileAttributeView), [FileOwnerAttributeView](/reference/kotlin/java/nio/file/attribute/FileOwnerAttributeView), [UserDefinedFileAttributeView](/reference/kotlin/java/nio/file/attribute/UserDefinedFileAttributeView) |--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------| | [BasicFileAttributeView](/reference/kotlin/java/nio/file/attribute/BasicFileAttributeView) | A file attribute view that provides a view of a *basic set* of file attributes common to many file systems. | | [FileOwnerAttributeView](/reference/kotlin/java/nio/file/attribute/FileOwnerAttributeView) | A file attribute view that supports reading or updating the owner of a file. | | [UserDefinedFileAttributeView](/reference/kotlin/java/nio/file/attribute/UserDefinedFileAttributeView) | A file attribute view that provides a view of a file's user-defined attributes, sometimes known as *extended attributes*. | |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Indirect Subclasses [AclFileAttributeView](/reference/kotlin/java/nio/file/attribute/AclFileAttributeView), [DosFileAttributeView](/reference/kotlin/java/nio/file/attribute/DosFileAttributeView), [PosixFileAttributeView](/reference/kotlin/java/nio/file/attribute/PosixFileAttributeView)[PosixFileAttributeView](/reference/kotlin/java/nio/file/attribute/PosixFileAttributeView) |--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [AclFileAttributeView](/reference/kotlin/java/nio/file/attribute/AclFileAttributeView) | A file attribute view that supports reading or updating a file's Access Control Lists (ACL) or file owner attributes. | | [DosFileAttributeView](/reference/kotlin/java/nio/file/attribute/DosFileAttributeView) | A file attribute view that provides a view of the legacy \"DOS\" file attributes. | | [PosixFileAttributeView](/reference/kotlin/java/nio/file/attribute/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. | | [PosixFileAttributeView](/reference/kotlin/java/nio/file/attribute/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. | |\n\nAn attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem. This interface is extended or implemented by specific file attribute views that define methods to read and/or update the attributes of a file.\n\nSummary\n-------\n\n| Inherited functions ||\n|---|---|\n| From class [AttributeView](/reference/kotlin/java/nio/file/attribute/AttributeView) |-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [name](/reference/kotlin/java/nio/file/attribute/AttributeView#name())`()` Returns the name of the attribute view. \u003cbr /\u003e | ||"]]