public static final class Untar.UntarCompressionMethod extends EnumeratedAttribute
value
Constructor and Description |
---|
Untar.UntarCompressionMethod()
Constructor
|
Modifier and Type | Method and 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, toString
public java.lang.String[] getValues()
getValues
in class EnumeratedAttribute
public 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