@Test public void testZip() throws Exception { List<String> fileNames = CollectUtils.newArrayList(); fileNames.add(getSource()); String filename = getZipTarget(); ZipUtils.zip(fileNames, filename); }
public static File zip(List<String> fileNames, String zipPath) { return zip(fileNames, zipPath, null); }
ZipUtils { public static File zip(List<String> fileNames, String zipPath) { return zip(fileNames, zipPath, null); } }
ZipUtils { public static File zip(List<String> fileNames, String zipPath) { return zip(fileNames, zipPath, null); } private  ZipUtils(); }
ZipUtils { public static File zip(List<String> fileNames, String zipPath) { return zip(fileNames, zipPath, 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 File zip(List<String> fileNames, String zipPath) { return zip(fileNames, zipPath, 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);  }