/**
* Valid Modes for Compression attribute to Tar Task
*
*/
public static final class TarCompressionMethod 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";
/**
* Default constructor
*/
public TarCompressionMethod()
{
super();
setValue(NONE);
}
/**
* Get valid enumeration values.
* @return valid enumeration values
*/
public String[] getValues()
{
return new String[] {NONE, GZIP, BZIP2};
}
11-05
212
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
344
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
264
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
439
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
202
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
203
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
210
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
213
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-05
249
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-24