Java.Util.Zip.ZipEntry.Method Property
Gets the compression method for this ZipEntry.

Syntax

[get: Android.Runtime.Register("getMethod", "()I", "GetGetMethodHandler")]
[set: Android.Runtime.Register("setMethod", "(I)V", "GetSetMethod_IHandler")]
public virtual int Method { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionwhen value is not DEFLATED or STORED.
Java.Lang.IllegalArgumentExceptionwhen value is not DEFLATED or STORED.
Java.Lang.IllegalArgumentExceptionwhen value is not DEFLATED or STORED.
Java.Lang.IllegalArgumentExceptionwhen value is not DEFLATED or STORED.
Java.Lang.IllegalArgumentExceptionwhen value is not DEFLATED or STORED.

Remarks

Get method documentation [Android Documentation]

Gets the compression method for this ZipEntry.

Set method documentation [Android Documentation]

Sets the compression method for this entry to either DEFLATED or STORED. The default is DEFLATED, which will cause the size, compressed size, and CRC to be set automatically, and the entry's data to be compressed. If you switch to STORED note that you'll have to set the size (or compressed size; they must be the same, but it's okay to only set one) and CRC yourself because they must appear before the user data in the resulting zip file. See ZipEntry.Size and ZipEntry.Crc.

Requirements

Namespace: Java.Util.Zip
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1