Package com.openfin.desktop
Class ZipExtractor
- java.lang.Object
-
- com.openfin.desktop.ZipExtractor
-
public class ZipExtractor extends Object
Utility for extracting ZIP archives cross-platform, with macOS POSIX permission support and zip-slip protection.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidextractZipAtLocation(String filePathStr)Extracts a ZIP archive (identified by content, not extension) into the same directory that contains it.
-
-
-
Method Detail
-
extractZipAtLocation
public static void extractZipAtLocation(String filePathStr) throws IOException
Extracts a ZIP archive (identified by content, not extension) into the same directory that contains it.- Parameters:
filePathStr- absolute path to the ZIP file- Throws:
IOException- on I/O errors or zip-slip attempts
-
-