Zip

Simply library to zip and unzip files.

License

License

GroupId

GroupId

com.github.rillis
ArtifactId

ArtifactId

zip
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Zip
Simply library to zip and unzip files.
Project URL

Project URL

https://github.com/rillis/zip/
Source Code Management

Source Code Management

http://github.com/rillis/zip/tree/master

Download zip

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.rillis/zip/ -->
<dependency>
    <groupId>com.github.rillis</groupId>
    <artifactId>zip</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.rillis/zip/
implementation 'com.github.rillis:zip:1.1.0'
// https://jarcasting.com/artifacts/com.github.rillis/zip/
implementation ("com.github.rillis:zip:1.1.0")
'com.github.rillis:zip:jar:1.1.0'
<dependency org="com.github.rillis" name="zip" rev="1.1.0">
  <artifact name="zip" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.rillis', module='zip', version='1.1.0')
)
libraryDependencies += "com.github.rillis" % "zip" % "1.1.0"
[com.github.rillis/zip "1.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

ZIP

Maven License

<dependency>
  <groupId>com.github.rillis</groupId>
  <artifactId>zip</artifactId>
  <version>1.1.0</version>
</dependency>

Docs

Classes:
com.github.rillis.Zip

Methods:

//Zip multiple files/folders. Returns .zip file itself.
Zip.zip(File[] fileToZip, File finalZipFile) : File  
throws FileNotFoundException, IOException.

//Unzip to destination folder, create folder if it doesn't exists. Returns destFolder. 
Zip.unZip(File zipFile, File destFolder) : File
throws FileNotFoundException, IOException.

Config:

//Buffer size
int Zip.BUFFER_SIZE = 4096

Versions

Version
1.1.0
1.0.0