CompressionLevel Property

The compression level to use.

Syntax

public int getCompressionLevel();
public void setCompressionLevel(int compressionLevel);

Default Value

4

Remarks

This property specifies the level of compression to be used, between 1 and 6. Higher values will cause the class to compress better; lower values will cause the class to compress faster.

Storing without compression is not supported for Gzip.

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