Compartir a través de


Pack200.IPacker.ModificationTime Field

Definition

If this property is set to the special string #LATEST, the packer will attempt to determine the latest modification time, among all the available entries in the original archive or the latest modification time of all the available entries in each segment.

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

Field Value

Attributes

Remarks

If this property is set to the special string #LATEST, the packer will attempt to determine the latest modification time, among all the available entries in the original archive or the latest modification time of all the available entries in each segment. This single value will be transmitted as part of the segment and applied to all the entries in each segment, #SEGMENT_LIMIT.

This can marginally decrease the transmitted size of the archive, at the expense of setting all installed files to a single date.

If this property is set to the special string #KEEP, the packer transmits a separate modification time for each input element.

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 to suitably set the modification time of each element of its output file.

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

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