Pack200.IPacker.DeflateHint Field

Definition

If this property is set to #TRUE or #FALSE, the packer will set the deflation hint accordingly in the output archive, and will not transmit the individual deflation hints of archive elements.

[Android.Runtime.Register("DEFLATE_HINT")]
public const string DeflateHint;
[<Android.Runtime.Register("DEFLATE_HINT")>]
val mutable DeflateHint : string

Field Value

Attributes

Remarks

If this property is set to #TRUE or #FALSE, the packer will set the deflation hint accordingly in the output archive, and will not transmit the individual deflation hints of archive elements.

If this property is set to the special string #KEEP, the packer will attempt to determine an independent deflation hint for each available element of the input archive, and transmit this hint separately.

The default is #KEEP, which preserves the input information, but may cause the transmitted archive to be larger than necessary.

It is up to the unpacker implementation to take action upon the hint to suitably compress the elements of the resulting unpacked jar.

The deflation hint of a ZIP or JAR element indicates whether the element was deflated or stored directly.

Java documentation for java.util.jar.Pack200.Packer.DEFLATE_HINT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to