Uses of Interface
java.nio.file.attribute.UserPrincipal
-
Packages that use UserPrincipal 软件包 描述 java.nio.file 定义Java虚拟机的接口和类,以访问文件,文件属性和文件系统。java.nio.file.attribute 提供对文件和文件系统属性的访问的接口和类。 -
-
Uses of UserPrincipal in java.nio.file
Methods in java.nio.file that return UserPrincipal 变量和类型 方法 描述 static UserPrincipalFiles. getOwner(Path path, LinkOption... options)返回文件的所有者。Methods in java.nio.file with parameters of type UserPrincipal 变量和类型 方法 描述 static PathFiles. setOwner(Path path, UserPrincipal owner)更新文件所有者。 -
Uses of UserPrincipal in java.nio.file.attribute
Subinterfaces of UserPrincipal in java.nio.file.attribute 变量和类型 接口 描述 interfaceGroupPrincipal表示 组标识的UserPrincipal,用于确定文件系统中对象的访问权限。Methods in java.nio.file.attribute that return UserPrincipal 变量和类型 方法 描述 UserPrincipalFileOwnerAttributeView. getOwner()阅读文件所有者。abstract UserPrincipalUserPrincipalLookupService. lookupPrincipalByName(String name)按名称查找用户主体。UserPrincipalPosixFileAttributes. owner()返回文件的所有者。UserPrincipalAclEntry. principal()返回主要组件。Methods in java.nio.file.attribute with parameters of type UserPrincipal 变量和类型 方法 描述 voidFileOwnerAttributeView. setOwner(UserPrincipal owner)更新文件所有者。AclEntry.BuilderAclEntry.Builder. setPrincipal(UserPrincipal who)设置此构建器的主要组件。
-