/**
* ????û?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;
}
打tar包工具TarUtil(11)
最新推荐文章于 2019-12-04 15:25:20 发布