@Test void testUnzipInvalid() { InputStream is = ZipFileUtil.class.getResourceAsStream("flip.zip"); assertThrows(UnzipException.class, () -> ZipFileUtil.unzip(is, tempDir)); }
public static void unzip(InputStream is, File outputDir) { try { ZipUtil.unpack(is, outputDir); } catch (Exception ex) { throw new UnzipException(ex); } }
ZipFileUtil { public static void unzip(InputStream is, File outputDir) { try { ZipUtil.unpack(is, outputDir); } catch (Exception ex) { throw new UnzipException(ex); } } }
ZipFileUtil { public static void unzip(InputStream is, File outputDir) { try { ZipUtil.unpack(is, outputDir); } catch (Exception ex) { throw new UnzipException(ex); } } private  ZipFileUtil(); }
ZipFileUtil { public static void unzip(InputStream is, File outputDir) { try { ZipUtil.unpack(is, outputDir); } catch (Exception ex) { throw new UnzipException(ex); } } private  ZipFileUtil(); static void unzip(InputStream is, File outputDir); static List<File> unzipSkipHidden(File file); }
ZipFileUtil { public static void unzip(InputStream is, File outputDir) { try { ZipUtil.unpack(is, outputDir); } catch (Exception ex) { throw new UnzipException(ex); } } private  ZipFileUtil(); static void unzip(InputStream is, File outputDir); static List<File> unzipSkipHidden(File file);  }