public class UtilsZIP extends Object
Modifier | Constructor and Description |
---|---|
private |
UtilsZIP() |
public static File createZip(File file) throws IOException
.zip
extension added. The file is create di the same posizion of
the original file.file
- file to be compressedNullPointerException
- if file==null
FileNotFoundException
- if the file does not existIOException
- if I/O errors occour© 2013 andynaz - http://andynaz.altervista.org