Getting Started
Fundamentals to start working with Aspose.ZIP for Java
Aspose.ZIP for Java enables Java developers to create, extract, and manage compressed files. It supports encryption, multi-volume archives, and format conversion. Designed for flexibility, the library is compatible with Java SE and can be integrated into cross-platform applications.
Aspose.Zip can also be integrated into your own cross-platform applications, such as these web applications to manage ZIP, RAR, TAR, 7Z, and other archive formats within our ecosystem. With these apps, you can compress, extract, or explore your archive files online.
Supported File Formats
The library supports various file formats used for compression and archiving:
- ZIP – Standard format for compression and archiving.
- 7z – High-compression archive format.
- TAR – Commonly used in Linux and Unix environments.
- RAR – Popular format with support for password protection.
- GZIP and BZIP2 – Formats for compressing single files.
For a complete list of supported formats and their specific capabilities, see the Supported File Formats section.
Features
Aspose.ZIP for Java provides a range of features for handling compressed files:
- Archive Creation – Create archives in ZIP, 7z, and other formats.
- File Extraction – Extract files or folders from existing archives.
- Encryption and Decryption – Apply or remove password protection.
- Custom Compression Levels – Adjust settings to balance size and speed.
- Multi-Volume Archives – Split large archives into smaller parts.
- Format Conversion – Convert archives between supported formats.
For detailed explanations and examples of these features, refer to the Features section.
Installation of Aspose.ZIP for Java
To install Aspose.ZIP for Java:
Download the latest version from the Aspose Downloads page. Add the JAR files to your project’s classpath. Configure your build tool (e.g., Maven or Gradle) using the provided dependencies. Follow the detailed setup instructions in the Installation chapter.
Licensing
Aspose.ZIP for Java offers several licensing options, including evaluation and paid licenses. To use the library without limitations, apply a valid license. Detailed steps for obtaining and activating a license are available in the Licensing.
System Requirements
Ensure your environment meets the following requirements:
- Java Runtime Environment: Version 6 or higher.
- Supported Operating Systems: Windows, Linux, and macOS.
- Development Tools: Java-compatible IDEs such as IntelliJ IDEA, Eclipse, or NetBeans.
Refer to the System Requirements section for additional technical specifications.
If you like to add or improve an example, we encourage you to contribute to the project. All examples and showcase projects in this repository are open source and can be freely used in your applications. This section provides examples along with detailed instructions on how to run them.