/**
* A 3 digit octal string, specify the user, group and
* other modes in the standard Unix fashion;
* optional, default=0755
*
* @param octalString a 3 digit octal string.
* @since Ant 1.6
*/
public void setDirMode(String octalString)
{
this.dirMode = UnixStat.DIR_FLAG
| Integer.parseInt(octalString, MODE);
}
/**
* ????¼??
* @return the current directory mode
* @since Ant 1.6
*/
public int getDirMode()
{
return dirMode;
}
/**
* 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)
{
this.userName = userName;
}
/**
* ????û???
* @return the user name for the tar entry
*/
public String getUserName()
{
return 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)
{
this.uid = uid;
}
打tar包工具TarUtil(10)
最新推荐文章于 2025-07-28 17:00:00 发布