Package | Description |
---|---|
cn.hutool.core.compress |
压缩解压封装
|
Modifier and Type | Method and Description |
---|---|
static ZipReader |
ZipReader.of(File zipFile,
Charset charset)
创建ZipReader
|
static ZipReader |
ZipReader.of(InputStream in,
Charset charset)
创建ZipReader
|
ZipReader |
ZipReader.read(Consumer<ZipEntry> consumer)
读取并处理Zip文件中的每一个
ZipEntry |
ZipReader |
ZipReader.setMaxSizeDiff(int maxSizeDiff)
设置检查ZipBomb文件差异倍数,-1表示不检查ZipBomb
|
Copyright © 2024. All rights reserved.