Package org.rapidcontext.util
Class ZipUtil
java.lang.Object
org.rapidcontext.util.ZipUtil
A set of utility methods for handling ZIP files.
- Version:
- 1.0
-
Method Summary
-
Method Details
-
unpackZip
Unpacks a ZIP file into a specified directory.- Parameters:
zipFile
- the ZIP file to unpackdir
- the destination directory- Throws:
IOException
- if the ZIP file couldn't be read or the destination files couldn't be written
-
unpackZip
Unpacks a ZIP file into a specified directory. This function will not close the ZIP file specified.- Parameters:
zip
- the ZIP file to unpackdir
- the destination directory- Throws:
IOException
- if the ZIP file couldn't be read or the destination files couldn't be written
-