public final class
Zip is a tool which can compress a set of files contained in a directory into a zip file. Likewise, it can also extract a set of files compressed in a zip file to a directory.
Author: Hugo Y. K. Lam
public static void
extract(File fromFile, File dir)¶
Extracts a set of files compressed in a zip file to a directory.
- fromFile – the zip file.
- dir – the directory to which the files to be extracted. Current user directory will be chosen if it is null.
- UtilitiesException – if there is any error in the extraction.