Interface Owner
public interface Owner
A user and group ID that can be used to indicate file ownership.
- Since:
- 2.3.0
- Author:
- Phillip Webb
-
Field Summary
-
Method Summary
-
Field Details
-
ROOT
Owner for root ownership.
-
-
Method Details
-
getUid
long getUid()Return the user identifier (UID) of the owner.- Returns:
- the user identifier
-
getGid
long getGid()Return the group identifier (GID) of the owner.- Returns:
- the group identifier
-
of
Factory method to create a newOwner
with specified user/group identifier.- Parameters:
uid
- the user identifiergid
- the group identifier- Returns:
- a new
Owner
instance
-