Class ZstdCompressor
java.lang.Object
org.codehaus.plexus.archiver.util.Compressor
org.codehaus.plexus.archiver.zstd.ZstdCompressor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
Methods inherited from class org.codehaus.plexus.archiver.util.Compressor
compress, getDestFile, getLogger, getSource, setDestFile, setSource
-
Constructor Details
-
ZstdCompressor
public ZstdCompressor()
-
-
Method Details
-
setLevel
-
compress
Description copied from class:Compressor
subclasses 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:
compress
in classCompressor
- Throws:
ArchiverException
-
close
public void close()Description copied from class:Compressor
subclasses 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:
close
in classCompressor
-