Udostępnij za pośrednictwem


Pack200.IPacker.KeepFileOrder Field

Definition

If this property is set to #TRUE, the packer will transmit all elements in their original order within the source archive.

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

Field Value

Attributes

Remarks

If this property is set to #TRUE, the packer will transmit all elements in their original order within the source archive.

If it is set to #FALSE, the packer may reorder elements, and also remove JAR directory entries, which carry no useful information for Java applications. (Typically this enables better compression.)

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

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

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