【无标题】Android实现文件或文件夹压缩成.zip格式压缩包
/**
* 压缩文件和文件夹
*
* @param srcFileString 要压缩的文件或文件夹
* @param zipFileString 压缩完成的Zip路径
* @throws Exception
*/
public static void ZipFolder(String srcFileString, String zipFileString) throws Exception {
//创建ZIP
ZipOutputStream outZip = new ZipOutpu..
原创
2022-05-30 23:30:02 ·
703 阅读 ·
0 评论