/**
* If the fullpath attribute is set, the file in the fileset
* is written with that path in the archive. The prefix attribute,
* if specified, is ignored. It is an error to have more than one file specified in
* such a fileset.
* @param fullpath the path to use for the file in a fileset.
*/
public void setFullpath(String fullpath)
{
this.fullpath = fullpath;
}
/**
* ???????·??
* @return the path to use for a single file fileset.
*/
public String getFullpath()
{
return fullpath;
}
/**
* Flag to indicates whether leading `/'s should
* be preserved in the file names.
* Optional, default is <code>false</code>.
* @param b the leading slashes flag.
*/
public void setPreserveLeadingSlashes(boolean b)
{
this.preserveLeadingSlashes = b;
}
/**
* the leading slashes flag
* @return true or false
*/
public boolean isPreserveLeadingSlashes()
{
return preserveLeadingSlashes;
}
}
打tar包工具TarUtil(12)
最新推荐文章于 2023-03-07 09:01:01 发布