@Test(dependsOnMethods = { "testZip", "isZip" }) public void testUnZipAndDelete() throws Exception { File f = new File(getZipTarget()); String tmp = SystemInfo.getTmpDir() + File.separator + "testzipdir"; File file = new File(tmp); file.delete(); file.mkdirs(); ZipUtils.unzip(f, file.getAbsolutePath()); f.delete(); Files.deleteDirectory(file); }
public static List<String> unzip(final File zipFile, final String destination) { return unzip(zipFile, destination, null); }
ZipUtils { public static List<String> unzip(final File zipFile, final String destination) { return unzip(zipFile, destination, null); } }
ZipUtils { public static List<String> unzip(final File zipFile, final String destination) { return unzip(zipFile, destination, null); } private  ZipUtils(); }
ZipUtils { public static List<String> unzip(final File zipFile, final String destination) { return unzip(zipFile, destination, null); } private  ZipUtils(); static File zip(List<String> fileNames, String zipPath); static File zip(List<String> fileNames, String zipPath, String encoding); static List<String> unzip(final File zipFile, final String destination); static List<String> unzip(final File zipFile, final String destination, String encoding); static boolean isZipFile(File zipFile); }
ZipUtils { public static List<String> unzip(final File zipFile, final String destination) { return unzip(zipFile, destination, null); } private  ZipUtils(); static File zip(List<String> fileNames, String zipPath); static File zip(List<String> fileNames, String zipPath, String encoding); static List<String> unzip(final File zipFile, final String destination); static List<String> unzip(final File zipFile, final String destination, String encoding); static boolean isZipFile(File zipFile);  }