Pack200.IPacker.Effort Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If this property is set to a single decimal digit, the packer will use the indicated amount of effort in compressing the archive.
[Android.Runtime.Register("EFFORT")]
public const string Effort;
[<Android.Runtime.Register("EFFORT")>]
val mutable Effort : string
Field Value
- Attributes
Remarks
If this property is set to a single decimal digit, the packer will use the indicated amount of effort in compressing the archive. Level 1 may produce somewhat larger size and faster compression speed, while level 9 will take much longer but may produce better compression.
The special value 0 instructs the packer to copy through the original JAR file directly, with no compression. The JSR 200 standard requires any unpacker to understand this special case as a pass-through of the entire archive.
The default is 5, investing a modest amount of time to produce reasonable compression.
Java documentation for java.util.jar.Pack200.Packer.EFFORT
.
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.