Browse our Products

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-zip</artifactId>
    <version>24.10</version>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-zip', version: '24.10')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-zip" rev="24.10">
    <artifact name="aspose-zip" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-zip" % "24.10"
copied!  

What’s new in the Aspose.ZIP for Java 24.10

Release Highlights

Aspose.ZIP for Java 24.10 expands compression capabilities by introducing support for the Snappy format and a new compressDirectory() method in ArchiveFactory to easily archive folders. The update also improves Zip and ISO workflows with enhanced entry handling and resource management during archive saving.

New Features

  • Snappy Archive Support

    • Added SnappyArchive class to handle .snappy compressed files.
  • Compress Entire Directory

    • New method ArchiveFactory.compressDirectory(String srcDir, String destArchive, ArchiveFormat format) simplifies folder-to-archive creation.
  • ISO Archive Enhancements

    • IsoEntry now supports extract() and getLength() for better integration and file handling.

Enhancements

  • Advanced Zip Entry Source Management

    • ArchiveEntry.getDataSource() exposes entry origin.
    • ArchiveSaveOptions.setCloseEntrySource(boolean) ensures stream cleanup post-compression.
  • Improved 7z Archive Handling

    • Now supports extracting archives that contain empty folders.
  • Extended XAR Save Control

    • Bug fix for path-based saving with XarSaveOptions.

Public API and Backward Incompatible Changes

  • New Class

    • com.aspose.zip.SnappyArchive
  • New Methods

    • ArchiveFactory.compressDirectory(...)
    • ArchiveEntry.getDataSource()
    • ArchiveSaveOptions.setCloseEntrySource(boolean)
    • IsoEntry.extract(...), IsoEntry.getLength()

🔍 Explore the Full Release Details

For full list of updates, please visit Aspose.ZIP for Java 24.10 Release Notes.


snappy | compress directory | archivefactory | isoentry | zip entry source

VersionRelease Date
25.5May 14, 2025
25.4April 30, 2025
25.3March 27, 2025
25.2February 28, 2025
25.1January 31, 2025
24.12December 19, 2024
24.11November 29, 2024
24.10October 30, 2024
24.9September 30, 2024
24.8August 30, 2024
24.7July 31, 2024
24.6June 29, 2024
24.5May 14, 2024
24.4April 25, 2024
24.3March 29, 2024
24.2March 11, 2024
24.1January 31, 2024
23.12December 22, 2023