Class ZstdCompressor
- java.lang.Object
-
- org.codehaus.plexus.archiver.util.Compressor
-
- org.codehaus.plexus.archiver.zstd.ZstdCompressor
-
public class ZstdCompressor extends Compressor
Zstd compression
-
-
Constructor Summary
Constructors Constructor Description ZstdCompressor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()subclasses must implement this method to cleanup after compression this is public so the process of compression and closing can be dealt with separately.voidcompress()subclasses must implement this method to do their compression this is public so the process of compression and closing can be dealt with separately.voidsetLevel(Integer level)-
Methods inherited from class org.codehaus.plexus.archiver.util.Compressor
compress, getDestFile, getLogger, getSource, setDestFile, setSource
-
-
-
-
Method Detail
-
setLevel
public void setLevel(Integer level)
-
compress
public void compress() throws ArchiverExceptionDescription copied from class:Compressorsubclasses must implement this method to do their compression this is public so the process of compression and closing can be dealt with separately.- Specified by:
compressin classCompressor- Throws:
ArchiverException
-
close
public void close()
Description copied from class:Compressorsubclasses must implement this method to cleanup after compression this is public so the process of compression and closing can be dealt with separately.- Specified by:
closein classCompressor
-
-