接口 Owner
public interface Owner
A user and group ID that can be used to indicate file ownership.
- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb
-
字段概要
字段 -
方法概要
-
字段详细资料
-
ROOT
Owner for root ownership.
-
-
方法详细资料
-
getUid
long getUid()Return the user identifier (UID) of the owner.- 返回:
- the user identifier
-
getGid
long getGid()Return the group identifier (GID) of the owner.- 返回:
- the group identifier
-
of
Factory method to create a newOwner
with specified user/group identifier.- 参数:
uid
- the user identifiergid
- the group identifier- 返回:
- a new
Owner
instance
-