模块 java.base

接口 AttributeView

所有已知的子接口:
AclFileAttributeView , BasicFileAttributeView , DosFileAttributeView , FileAttributeView , FileOwnerAttributeView , FileStoreAttributeView , PosixFileAttributeView , UserDefinedFileAttributeView

public interface AttributeView
提供与文件系统中对象关联的非不透明值的只读或可更新 view 的对象。该接口由定义视图支持的属性的特定属性视图扩展或实现。一个特定的属性视图通常会定义类型安全的方法来读取或更新它支持的属性。
自从:
1.7
  • 方法总结

    修饰符和类型
    方法
    描述
    name()
    返回属性视图的名称。
  • 方法详情

    • name

      String  name()
      返回属性视图的名称。
      返回:
      属性视图的名称