Share via


ZipOutputStream.PutNextEntry(ZipEntry) Method

Definition

Begins writing a new ZIP file entry and positions the stream to the start of the entry data.

[Android.Runtime.Register("putNextEntry", "(Ljava/util/zip/ZipEntry;)V", "GetPutNextEntry_Ljava_util_zip_ZipEntry_Handler")]
public virtual void PutNextEntry (Java.Util.Zip.ZipEntry? e);
[<Android.Runtime.Register("putNextEntry", "(Ljava/util/zip/ZipEntry;)V", "GetPutNextEntry_Ljava_util_zip_ZipEntry_Handler")>]
abstract member PutNextEntry : Java.Util.Zip.ZipEntry -> unit
override this.PutNextEntry : Java.Util.Zip.ZipEntry -> unit

Parameters

e
ZipEntry

the ZIP entry to be written

Attributes

Exceptions

If an error occurs storing the entry.

Remarks

Begins writing a new ZIP file entry and positions the stream to the start of the entry data. Closes the current entry if still active. The default compression method will be used if no compression method was specified for the entry, and the current time will be used if the entry has no set modification time.

Java documentation for java.util.zip.ZipOutputStream.putNextEntry(java.util.zip.ZipEntry).

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

See also