Package org.openqa.selenium.io
Class Zip
java.lang.Object
org.openqa.selenium.io.Zip
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidunzip(InputStream source, File outputDir) static voidstatic voidunzipFile(File output, InputStream zipStream, String name) static FileunzipToTempDir(InputStream source, String prefix, String suffix) static FileunzipToTempDir(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
-