Class OutArchiveGZipImpl

java.lang.Object
net.sf.sevenzipjbinding.impl.OutArchiveImpl<IOutItemGZip>
net.sf.sevenzipjbinding.impl.OutArchiveGZipImpl
All Implemented Interfaces:
Closeable, AutoCloseable, IOutArchive<IOutItemGZip>, IOutArchiveBase, IOutCreateArchive<IOutItemGZip>, IOutCreateArchiveGZip, IOutFeatureSetLevel, IOutUpdateArchive<IOutItemGZip>, IOutUpdateArchiveGZip

public class OutArchiveGZipImpl extends OutArchiveImpl<IOutItemGZip> implements IOutCreateArchiveGZip, IOutUpdateArchiveGZip
GZip specific archive create and update class.
Since:
9.20-2.00
Author:
Boris Brodski
  • Constructor Details

    • OutArchiveGZipImpl

      public OutArchiveGZipImpl()
  • 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