Zipper offers a simple, modern fluent style java utility classes for creating and unpacking zip archives.
Unzip archive to current directory
Unzipper.archive("path/to/archive.zip").unzip();
Unzip archive to specified directory
Unzipper.archive("path/to/archive.zip").to("/output/directory").unzip();
Create an archive from specified directory
Zipper.archive("path/to/archive.zip").directory("/a/directory").zip();
Create an archive from specified directories
Zipper.archive("path/to/archive.zip").directories("/tmp", "/opt").zip();
Create an archive from specified file
Zipper.archive("path/to/archive.zip").file("/tmp/myfile").unzip();
Download
Zipper is Licensed under Apache Version 2 and is available to download via the following channels:
Maven
Add the following dependency to you project pom.xml dependencies section
<dependency> <groupId>uk.co.a1dutch.zipper</groupId> <artifactId>zipper</artifactId> <version>1.1.0</version> </dependency>
Offline Distribution
Download an offline distribution, containing all the required jars and documentation.
DownloadOffline Distribution