Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rillis/zip

Zip/Unzip files
https://github.com/rillis/zip

api maven unzip zip

Last synced: about 1 month ago
JSON representation

Zip/Unzip files

Awesome Lists containing this project

README

        

# ZIP

![Maven](https://img.shields.io/maven-central/v/com.github.rillis/zip)
![License](https://img.shields.io/github/license/rillis/zip)

```xml

com.github.rillis
zip
1.1.0

```

## Docs

**Classes:**
com.github.rillis.Zip

**Methods:**
```java
//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:**
```java
//Buffer size
int Zip.BUFFER_SIZE = 4096
```