类 Zips
java.lang.Object
net.apexes.commons.lang.Zips
- 作者:
- HeDYn
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Zips.ZipCompressstatic Zips.ZipCompressnotStructure(OutputStream out) static voidtoZip(OutputStream out, boolean keepStructure, boolean snapshoot, File... srcs) static voidtoZip(OutputStream out, boolean keepStructure, boolean snapshoot, List<File> srcs) static voidtoZip(OutputStream out, boolean keepStructure, File... srcs) static voidtoZip(OutputStream out, boolean keepStructure, List<File> srcs) static voidtoZip(OutputStream out, File... srcs) static voidtoZip(OutputStream out, List<File> srcs) static void将指定的zip文件中的内容(不含zip文件名目录)解压缩到descDir目录中
-
构造器详细资料
-
Zips
public Zips()
-
-
方法详细资料
-
unzip
将指定的zip文件中的内容(不含zip文件名目录)解压缩到descDir目录中- 参数:
zipFile-descDir-- 抛出:
IOException
-
toZip
- 抛出:
Exception
-
toZip
- 抛出:
Exception
-
toZip
public static void toZip(OutputStream out, boolean keepStructure, boolean snapshoot, File... srcs) throws Exception - 抛出:
Exception
-
toZip
- 抛出:
Exception
-
toZip
- 抛出:
Exception
-
toZip
public static void toZip(OutputStream out, boolean keepStructure, boolean snapshoot, List<File> srcs) throws Exception - 抛出:
Exception
-
keepStructure
-
notStructure
-