Added in API level 26

AttributeView

interface AttributeView
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 java.nio.file.FileStore.

AclFileAttributeView

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

BasicFileAttributeView

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

DosFileAttributeView

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

FileOwnerAttributeView

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

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.

UserDefinedFileAttributeView

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

An object that provides a read-only or updatable view of non-opaque values associated with an object in a filesystem. This interface is extended or implemented by specific attribute views that define the attributes supported by the view. A specific attribute view will typically define type-safe methods to read or update the attributes that it supports.

Summary

Public methods
abstract String!

Returns the name of the attribute view.

Public methods

name

Added in API level 26
abstract fun name(): String!

Returns the name of the attribute view.

Return
String! the name of the attribute view