/**
* Valid Modes for Compression attribute to Untar Task
*
*/
public static final class UntarCompressionMethod extends
EnumeratedAttribute
{
// permissible values for compression attribute
/**
* No compression
*/
private static final String NONE = "none";
/**
* GZIP compression
*/
private static final String GZIP = "gzip";
/**
* BZIP2 compression
*/
private static final String BZIP2 = "bzip2";
/**
* Constructor
*/
public UntarCompressionMethod()
{
super();
setValue(NONE);
}
/**
* Get valid enumeration values
*
* @return valid values
*/
public String[] getValues()
{
return new String[] {NONE, GZIP, BZIP2};
}
解压tar包工具UntarUtil(3)
最新推荐文章于 2023-01-25 12:44:56 发布