FileAttributeView

  • FileAttributeView provides a read-only or updatable view of file attributes in a filesystem.

  • It is extended by specific attribute views like BasicFileAttributeView, PosixFileAttributeView, and others, offering methods to read or update file attributes.

  • Files.getFileAttributeView() is used to retrieve an instance of a specific FileAttributeView for a given file.

  • Each view focuses on a specific set of attributes such as basic file properties, access control lists, or DOS attributes.

public interface FileAttributeView implements AttributeView
Known Indirect Subclasses

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.

Inherited Method Summary