Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 754 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 754 Bytes

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