zipoutputstream
时间: 2023-08-22 17:08:08 浏览: 185
OutputStream
ZipOutputStream是Java中用于创建Zip压缩文件的类。它可以将多个文件或文件夹压缩成一个Zip文件。通过使用ZipOutputStream,可以将文件逐个添加到Zip文件中,并指定每个文件在Zip文件中的路径和名称。通过在构造方法中传入一个OutputStream对象,可以将压缩后的数据写入到指定的输出流中。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *3* [ZIP压缩输入/输出流](https://blog.csdn.net/weixin_44860226/article/details/127850957)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [ZipOutputStream是个啥](https://blog.csdn.net/jixiang7530831/article/details/102480519)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文