Compress file to create archives or Decompress archives of types ZIP, 7Zip, RAR, TAR, GZIP, BZ2, LZ, CPIO, XZ, Z, CAB from within any Java based application.
Vendor
Aspose
Company Website
Aspose.ZIP for Java is a flexible documents compression and archive manipulation API designed for Java applications. It supports the standard ZIP format and a wide set of archive types, enabling developers to perform compression, decompression, and archive creation with ease. The library allows handling files and folders, encrypting archives, and managing entries—all directly within Java code. Aspose.ZIP for Java provides protection through user‑defined passwords, ZipCrypto encryption, and AES encryption standards including AES128, AES192, and AES256. As a dynamic and versatile Java API, it is tailored for modern data‑management workflows, empowering developers to compress, archive, and extract files using Java’s capabilities. The API supports a straightforward integration process—many compression and extraction tasks can be performed in just a few lines of code. Its broad compatibility with ZIP, 7Zip, RAR, TAR, GZIP, BZ2, LZ, CPIO, XZ, CAB, and Z makes it suitable for a wide range of use cases.
Features
- Create an archive from one or more files.
- Add files to archives without compression.
- Encrypt or decrypt entire archives or individual entries.
- Add entries to existing archives.
- Delete entries from existing archives.
- Compress folders while preserving directory structure.
- Decompress archives while respecting folder hierarchy.
- Compress large documents using parallelism.
- Support for input formats: ZIP, 7Zip, RAR, TAR, GZIP, BZ2, LZ, CPIO, XZ, CAB, Z.
- Output formats include: ZIP, 7Zip, TAR, GZIP, BZ2, LZ, CPIO, XZ, CAB, Z.
- Simple integration into any Java application.
Benefits
- Wide Format Support: Work with a broad list of archive formats used in both Windows and Linux environments.
- Secure Data Handling: AES and ZipCrypto encryption options protect sensitive archives.
- Developer‑Friendly API: Simple syntax allows performing common compression tasks in minimal lines of Java code.
- Versatile Application Use: Suitable for document automation, storage optimization, file packaging, and enterprise‑scale data workflows.
- Consistent Performance: Parallel compression improves efficiency when working with large files.
- Cross‑Platform Flexibility: Designed for any Java application across different operating systems.