XzCompressionSettings

Inheritance: java.lang.Object, com.aspose.zip.CompressionSettings

public class XzCompressionSettings extends CompressionSettings

Settings for Xz compression method.

Constructors

ConstructorDescription
XzCompressionSettings()Initializes a new instance of the XzCompressionSettings class.

XzCompressionSettings()

public XzCompressionSettings()

Initializes a new instance of the XzCompressionSettings class.


     try (Archive archive = new Archive(new ArchiveEntrySettings(new XzCompressionSettings()))) {
         archive.createEntry("data.bin", "data.bin");
         archive.save("archive.zip");
     }