インタフェース
java.nio.file.attribute.UserPrincipalの使用
-
UserPrincipalを使用しているパッケージ パッケージ 説明 java.nio.file ファイル、ファイル属性、およびファイル・システムにアクセスするためのJava仮想マシン用のインタフェースとクラスを定義します。java.nio.file.attribute ファイルおよびファイル・システム属性へのアクセスを提供するインタフェースとクラスです。 -
-
java.nio.fileでのUserPrincipalの使用
UserPrincipalを返すjava.nio.fileのメソッド 修飾子と型 メソッド 説明 static UserPrincipal
Files. getOwner(Path path, LinkOption... options)
ファイルの所有者を返します。UserPrincipal型のパラメータを持つjava.nio.fileのメソッド 修飾子と型 メソッド 説明 static Path
Files. setOwner(Path path, UserPrincipal owner)
ファイル所有者を更新します。 -
java.nio.file.attributeでのUserPrincipalの使用
java.nio.file.attributeでのUserPrincipalのサブインタフェース 修飾子と型 インタフェース 説明 interface
GroupPrincipal
ファイル・システム内のオブジェクトへのアクセス権を判断するために使用される、グループ識別情報を表すUserPrincipal
です。UserPrincipalを返すjava.nio.file.attributeのメソッド 修飾子と型 メソッド 説明 UserPrincipal
FileOwnerAttributeView. getOwner()
ファイル所有者を読み取ります。abstract UserPrincipal
UserPrincipalLookupService. lookupPrincipalByName(String name)
ユーザー主体を名前で検索します。UserPrincipal
PosixFileAttributes. owner()
ファイルの所有者を返します。UserPrincipal
AclEntry. principal()
主体コンポーネントを返します。UserPrincipal型のパラメータを持つjava.nio.file.attributeのメソッド 修飾子と型 メソッド 説明 void
FileOwnerAttributeView. setOwner(UserPrincipal owner)
ファイル所有者を更新します。AclEntry.Builder
AclEntry.Builder. setPrincipal(UserPrincipal who)
このビルダーの主体コンポーネントを設定します。
-