(String source, String prefix, String suffix)
| 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); |