MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / unzipToTempDir

Method unzipToTempDir

java/src/org/openqa/selenium/io/Zip.java:90–95  ·  view source on GitHub ↗
(String source, String prefix, String suffix)

Source from the content-addressed store, hash-verified

88 }
89
90 public static File unzipToTempDir(String source, String prefix, String suffix)
91 throws IOException {
92 File output = TemporaryFilesystem.getDefaultTmpFS().createTempDir(prefix, suffix);
93 Zip.unzip(source, output);
94 return output;
95 }
96
97 public static void unzip(String source, File outputDir) throws IOException {
98 byte[] bytes = Base64.getMimeDecoder().decode(source);

Calls 3

getDefaultTmpFSMethod · 0.95
unzipMethod · 0.95
createTempDirMethod · 0.80