public class ZipApache extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BUFFER_SIZE
The constant BUFFER_SIZE.
|
| 构造器和说明 |
|---|
ZipApache() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,byte[]> |
getBytes(File zipFile,
List<String> format_Need)
Gets input streams.
|
static void |
unZip(File zipFile,
File outPath)
Un zip.
|
static void |
unZip(File zipFile,
File outPath,
FolderPath.Config_getFileList config)
Un zip.
|
static byte[] |
zip(Map<String,byte[]> map)
压缩文件map key: 文件名称 , value: 文件数据
|
public static final int BUFFER_SIZE
public static void unZip(File zipFile, File outPath, FolderPath.Config_getFileList config)
zipFile - the zip fileoutPath - the out pathconfig - the configpublic static void unZip(File zipFile, File outPath)
zipFile - the zip fileoutPath - the out pathpublic static Map<String,byte[]> getBytes(File zipFile, List<String> format_Need)
zipFile - the zip fileformat_Need - the format needCopyright © 2020. All rights reserved.