public static final class Untar.UntarCompressionMethod extends EnumeratedAttribute
value| Constructor | Description |
|---|---|
UntarCompressionMethod() |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.io.InputStream |
decompress(java.lang.String name,
java.io.InputStream istream) |
This method wraps the input stream with the
corresponding decompression method
|
java.lang.String[] |
getValues() |
Get valid enumeration values
|
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toStringpublic java.lang.String[] getValues()
getValues in class EnumeratedAttributepublic java.io.InputStream decompress(java.lang.String name,
java.io.InputStream istream)
throws java.io.IOException,
BuildException
name - provides location information for BuildExceptionistream - input streamjava.io.IOException - thrown by GZIPInputStream constructorBuildException - thrown if bzip stream does not
start with expected magic values