Browse our Products

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

Process ZIP files via Java API


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 archive formats including ZIP, BZIP, BZ2 & TAR.

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, Bzip2 & LZMA compression algorithms.
  • 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.
  • Use Gzip or Bzip2 to pack files & folders into a TAR archive.
  • Supports LZMA or LZMA2 compression & optional encryption to create 7z archives.

Read & Write ZIP Formats


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");"");

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

VersionRelease Date
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
aspose-zip-24.6-javadoc.jarjavadoc963 KB
aspose-zip-24.6.jar8 MB
aspose-zip-24.6.pom393 bytes