接口的使用
java.nio.file.attribute.FileAttributeView
使用 FileAttributeView 的包
-
FileAttributeView 在 java.nio.file 中的用法
java.nio.file 中的方法,类型参数类型为 FileAttributeView修饰符和类型方法描述static <V extends FileAttributeView>
VFiles.getFileAttributeView(Path path, Class<V> type, LinkOption... options) 返回给定类型的文件属性视图。<V extends FileAttributeView>
VSecureDirectoryStream.getFileAttributeView(Class<V> type) 返回一个新的文件属性视图以访问该目录的文件属性。<V extends FileAttributeView>
VSecureDirectoryStream.getFileAttributeView(T path, Class<V> type, LinkOption... options) 返回一个新的文件属性视图以访问此目录中文件的文件属性。java.nio.file 中的方法参数,类型参数为 FileAttributeView修饰符和类型方法描述abstract booleanFileStore.supportsFileAttributeView(Class<? extends FileAttributeView> type) 告知此文件存储是否支持由给定文件属性视图标识的文件属性。 -
FileAttributeView 在 java.nio.file.attribute 中的用法
修饰符和类型接口描述interface支持读取或更新文件的访问控制列表 (ACL) 或文件所有者属性的文件属性视图。interface一个文件属性视图,提供许多文件系统共有的文件属性视图。interface提供旧“DOS”文件属性视图的文件属性视图。interface支持读取或更新文件所有者的文件属性视图。interface一种文件属性视图,提供通常与文件系统上的文件关联的文件属性视图,这些文件系统由实现可移植操作系统接口 (POSIX) 系列标准的操作系统使用。interface提供文件的用户定义属性视图的文件属性视图,有时称为 extended attributes 。 -
FileAttributeView 在 java.nio.file.spi 中的用法
java.nio.file.spi 中的方法,类型参数为 FileAttributeView修饰符和类型方法描述abstract <V extends FileAttributeView>
VFileSystemProvider.getFileAttributeView(Path path, Class<V> type, LinkOption... options) 返回给定类型的文件属性视图。