/** * The username for the tar entry * This is not the same as the UID. * @param userName the user name for the tar entry. */ public void setUserName(String userName) { checkTarFileSetAttributesAllowed(); userNameSet = true; this.userName = userName; }
/** * The uid for the tar entry * This is not the same as the User name. * @param uid the id of the user for the tar entry. */ public void setUid(int uid) { checkTarFileSetAttributesAllowed(); userIdSet = true; this.uid = uid; }
/** * The groupname for the tar entry; optional, default="" * This is not the same as the GID. * @param groupName the group name string. */ public void setGroup(String groupName) { checkTarFileSetAttributesAllowed(); groupNameSet = true; this.groupName = groupName; }
/** * The GID for the tar entry; optional, default="0" * This is not the same as the group name. * @param gid the group id. */ public void setGid(int gid) { checkTarFileSetAttributesAllowed(); groupIdSet = true; this.gid = gid; }