Browse our Products

Aspose.ZIP for Java 25.6 Release Notes

All Changes

KeySummaryIssue Type
ZIPNET-763Cancel archive extraction via cancellation token.Feature
ZIPNET-1318Verify archive disposal on instance operations.Feature
ZIPNET-1303Allow to cancel zip entry extraction with event handler.Enhancement

Public API and Backwards Incompatible Changes

The following public types were added:Description
com.aspose.zip.ArjLoadOptionsOptions with which ARJ archive is loaded from a compressed file.
com.aspose.zip.CabLoadOptionsOptions with which Cab archive is loaded from a compressed file.
com.aspose.zip.GzipLoadOptionsOptions with which Gzip archive is loaded from a compressed file.
com.aspose.zip.LhaLoadOptionsOptions with which Lha archive is loaded from a compressed file.
com.aspose.zip.Lz4LoadoptionsOptions with which Lz4 archive is loaded from a compressed file.
com.aspose.zip.LzipLoadOptionsOptions with which Lzip archive is loaded from a compressed file.
com.aspose.zip.SevenZipLoadOptionsOptions with which 7z archive is loaded from a compressed file.
com.aspose.zip.WimLoadOptionsOptions with which Wim archive is loaded from a compressed file.
com.aspose.zip.XzLoadOptionsOptions with which XZ archive is loaded from a compressed file.
com.aspose.zip.ProgressCancelEventArgsClass for cancelable event data containing the number of bytes proceeded.
com.aspose.zip.CancellationFlagThe flag that allows for the cancellation of operations.
The following public methods were added:Description
com.aspose.zip.ArjLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.Bzip2LoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.CabLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.GzipLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.GzipLoadOptions.getParseHeader()Gets the value indicating whether to parse stream header to figure out properties, including name.
com.aspose.zip.GzipLoadOptions.setParseHeader( boolean )Sets the value indicating whether to parse stream header to figure out properties, including name.
com.aspose.zip.IsoLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.LhaLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.Lz4LoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.RarArchiveLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.SevenZipLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.SevenZipLoadOptions.getDecryptionPassword()Get the password to decrypt entries and entry names.
com.aspose.zip.SevenZipLoadOptions.setDecryptionPassword( String )Sets the password to decrypt entries and entry names.
com.aspose.zip.WimLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.XarLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.XzLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.ZStandard.ZStandardLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.ArchiveLoadOptions.setCancellationFlag( com.aspose.zip.CancellationFlag )Sets a cancellation flag used to cancel the extraction operation.
com.aspose.zip.ProgressCancelEventArgs.getCancel()Gets a value indicating whether the event should be canceled.
com.aspose.zip.ProgressCancelEventArgs.setCancel( boolean )Sets a value indicating whether the event should be canceled.
com.aspose.zip.CancellationFlag.cancel()Cancels the operation associated with this CancellationFlag instance.
com.aspose.zip.CancellationFlag.cancelAfter( long )Cancels the operation after a specified delay in milliseconds.
com.aspose.zip.CancellationFlag.cancelAfter( long, java.util.concurrent.TimeUnit )Cancels the operation after a specified delay in the given time unit.