Added in API level 26

AttributeView

public interface AttributeView

java.nio.file.attribute.AttributeView
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. 
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. 
FileStoreAttributeView An attribute view that is a read-only or updatable view of the attributes of a FileStore
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 name()

Returns the name of the attribute view.

Public methods

name

Added in API level 26
public abstract String name ()

Returns the name of the attribute view.

Returns
String the name of the attribute view