Class ZipUtil
java.lang.Object
de.tomatengames.util.ZipUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidextractZIP(File zipFile, Path targetDir) Extracts the entries of the specified ZIP file into the specified target directory.static voidextractZIP(ZipFile zipFile, Path targetDir) Extracts the entries of the specified ZIP file into the specified target directory.
-
Method Details
-
extractZIP
Extracts the entries of the specified ZIP file into the specified target directory.- Parameters:
zipFile- The ZIP file.targetDir- The target directory.- Throws:
IOException- If an error occurs.
-
extractZIP
Extracts the entries of the specified ZIP file into the specified target directory.- Parameters:
zipFile- The ZIP file.targetDir- The target directory.- Throws:
IOException- If an error occurs.
-