public class XZCompressor extends Compressor
| Modifier and Type | Field and Description |
|---|---|
private org.apache.commons.compress.compressors.xz.XZCompressorOutputStream |
xzOut |
| Constructor and Description |
|---|
XZCompressor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
subclasses must implement this method to cleanup after compression
this is public so the process of compression and closing can be dealt with separately.
|
void |
compress()
subclasses must implement this method to do their compression
this is public so the process of compression and closing can be dealt with separately.
|
compress, getDestFile, getSource, setDestFile, setSourceprivate org.apache.commons.compress.compressors.xz.XZCompressorOutputStream xzOut
public void compress()
throws ArchiverException
Compressorcompress in class CompressorArchiverExceptionpublic void close()
Compressorclose in class Compressor