CompressionMethod Property

Used to set the method of compression.

Syntax

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

Enumerated values: public final static int cmszLzma = 0; public final static int cmszBzip2 = 1; public final static int cmszDelta = 2; public final static int cmszCopy = 3; public final static int cmszDeflate = 4; public final static int cmszLzma2 = 5;

Default Value

0

Remarks

This is used to specify different compression methods. By default the class uses the LZMA compression method (a value of 0). Supported values are:

ValueMethod
cmszLzma (0 - default) LZMA
cmszBzip2 (1) BZip2
cmszDelta (2) Delta
cmszCopy (3) Copy (no compression)
cmszDeflate (4) Deflate
cmszLzma2 (5) LZMA2

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