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

Process ZIP files via Java API

main-banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.ZIP for Java is a standalone Java API to create, manipulate, extract & protect archives.

Aspose.ZIP for Java class library allows your Java applications to compress/decompress files and folders without getting into the complexity of coding new compression algorithms or understanding the existing ones. Enable your programs to work with a vast range of features, such as creating archives, saving archives, archive extraction, encrypting/decrypting archives, compressing single or multiple files as well as directory contents. It also allows you to apply security to your archived and compressed files and folders via password, AES (128, 192, 256) encryption, or mixed encryption.

Archive Processing Features

  • Compress files and folders into standard ZIP formats.
  • Supports Deflate (Coming soon: Bzip2 & LZMA) compression algorithm.
  • Apply simple password or AES128, AES192, AES256 encryption to archives.
  • Employ different protection schemes for each file within an archive.
  • Append more files to an existing zipped archive.
  • Coming soon: Use Gzip or Bzip2 to pack files & folders into a TAR archive.
  • Coming soon: Supports LZMA or LZMA2 compression & optional encryption to create 7z archives.

Read & Write ZIP Formats

ZIP (Coming soon: 7z, TAR, GZIP, BZ2)

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 8.0 (1.8) or above

Get Started

Aspose.ZIP Java APIs are hosted at the Aspose Repository. You can easily use Aspose.ZIP for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.ZIP for Java from Maven Repository documentation page.

Read Project Data from Microsoft Project Database

  String dir = "full directory path";
  try(Archive arch = new Archive()) {
    arch.createEntry("filename.dat", dir+"file.dat");
    arch.save(dir+"result.zip");
  }

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

VersionRelease Date
24.2February 28, 2024
24.1January 31, 2024
23.12December 22, 2023