Package org.openqa.selenium.io
Class Zip
java.lang.Object
org.openqa.selenium.io.Zip
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
unzip
(InputStream source, File outputDir) static void
static void
unzipFile
(File output, InputStream zipStream, String name) static File
unzipToTempDir
(InputStream source, String prefix, String suffix) static File
unzipToTempDir
(String source, String prefix, String suffix) static String
-
Constructor Details
-
Zip
public Zip()
-
-
Method Details
-
zip
- Throws:
IOException
-
unzipToTempDir
- Throws:
IOException
-
unzip
- Throws:
IOException
-
unzipToTempDir
public static File unzipToTempDir(InputStream source, String prefix, String suffix) throws IOException - Throws:
IOException
-
unzip
- Throws:
IOException
-
unzipFile
- Throws:
IOException
-