AttributeView

  • AttributeView provides a read-only or updatable view of file attributes within a filesystem.

  • It serves as an interface for specific attribute views like BasicFileAttributeView, DosFileAttributeView, and others that define supported attribute types.

  • Each specific attribute view offers type-safe methods for reading or updating the file attributes it supports.

  • The name() method is available to retrieve the name of the attribute view being used.

public interface AttributeView
Known Indirect Subclasses

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.

Public Method Summary

abstract String
name()
Returns the name of the attribute view.

Public Methods

public abstract String name ()

Returns the name of the attribute view.

Returns
  • the name of the attribute view