Class OutArchiveXzImpl

java.lang.Object
net.sf.sevenzipjbinding.impl.OutArchiveImpl<IOutItemXz>
net.sf.sevenzipjbinding.impl.OutArchiveXzImpl
All Implemented Interfaces:
Closeable, AutoCloseable, IOutArchive<IOutItemXz>, IOutArchiveBase, IOutCreateArchive<IOutItemXz>, IOutCreateArchiveXz, IOutFeatureSetLevel, IOutUpdateArchive<IOutItemXz>, IOutUpdateArchiveXz

public class OutArchiveXzImpl extends OutArchiveImpl<IOutItemXz> implements IOutCreateArchiveXz, IOutUpdateArchiveXz
Xz specific archive create and update class.
Since:
23.01-2.2
Author:
Boris Brodski
  • Constructor Details

    • OutArchiveXzImpl

      public OutArchiveXzImpl()
  • Method Details

    • setLevel

      public void setLevel(int compressionLevel)
      Set compression level:
      • 0 - Copy mode (no compression)
      • 1 - Fastest
      • 3 - Fast
      • 5 - Normal
      • 7 - Maximum
      • 9 - Ultra
      Note that the meaning of the compression level can differ across archive formats.
      Specified by:
      setLevel in interface IOutFeatureSetLevel
      Parameters:
      compressionLevel - compression level to set. -1 - use default