您的位置:首页 > 其它

打tar包工具TarUtil(11)

2009-11-05 14:48 225 查看
/**

* ????û?id

* @return the uid for the tar entry

*/

public int getUid()

{

return uid;

}

/**

* The groupname for the tar entry; optional, default=""

* This is not the same as the GID.

* @param group the group name string.

*/

public void setGroup(String group)

{

this.groupName = group;

}

/**

* ?????

* @return the group name string.

*/

public String getGroup()

{

return 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)

{

this.gid = gid;

}

/**

* ?????id

* @return the group identifier.

*/

public int getGid()

{

return gid;

}

/**

* If the prefix attribute is set, all files in the fileset

* are prefixed with that path in the archive.

* optional.

* @param prefix the path prefix.

*/

public void setPrefix(String prefix)

{

this.prefix = prefix;

}

/**

* ?????

* @return the path prefix for the files in the fileset.

*/

public String getPrefix()

{

return prefix;

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: