org.codehaus.plexus.archiver.tar
public static final class TarArchiver.TarCompressionMethod extends EnumeratedAttribute
Field Summary | |
---|---|
static String | BZIP2
BZIP2 compression |
static String | GZIP
GZIP compression |
static String | NONE
No compression |
Constructor Summary | |
---|---|
TarCompressionMethod()
Default constructor |
Method Summary | |
---|---|
OutputStream | compress(OutputStream ostream)
This method wraps the output stream with the
corresponding compression method
|
String[] | getValues()
Get valid enumeration values.
|
Parameters: ostream output stream
Returns: output stream with on-the-fly compression
Throws: IOException thrown if file is not writable
Returns: valid enumeration values