CompressionMethod Property

The compression method to use.

Syntax

public int getCompressionMethod();
public void setCompressionMethod(int compressionMethod);

Enumerated values: public final static int cmDeflate = 0; public final static int cmPPMd = 1; public final static int cmBzip2 = 2;

Default Value

0

Remarks

This property specifies the compression method to use. By default the class uses the Deflate compression method (a value of 0). Supported values are:

  • 0 (cmDeflate - default)
  • 1 (cmPPMd)
  • 2 (cmBzip2)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Java Edition - Version 20.0 [Build 8300]