XzBcjX86FilterSettings

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

public final class XzBcjX86FilterSettings extends XzFilterSettings

Settings for xz Bcj X86 filter.

Constructors

ConstructorDescription
XzBcjX86FilterSettings()Initializes a new instance of the XzBcjX86FilterSettings.

XzBcjX86FilterSettings()

public XzBcjX86FilterSettings()

Initializes a new instance of the XzBcjX86FilterSettings. Use it to compress executable files and libraries within XzArchive.


     XzLZMA2FilterSettings lzma2 = new XzLZMA2FilterSettings(5242880);
     XzBcjX86FilterSettings bcj = new XzBcjX86FilterSettings();
     XzArchiveSettings settings = new XzArchiveSettings(new XzFilterSettings[] {bcj,lzma2}, 10485760, XzCheckType.Crc32);
     try (XzArchive archive = new XzArchive(settings)) {
         archive.setSource("data.bin");
         archive.save("archive.xz");
     }