压缩相关
compress(srcFilePath,destFilePath,password)
srcFilePath
压缩路径
是
destFilePath
压缩后路径
password
压缩密码
否
true
成功
false
失败
示例代码:压缩"/storage/emulated/0/帅哥"文件夹到"/storage/emulated/0/帅哥.zip"并加密设置密码为123456
compress("/storage/emulated/0/帅哥","/storage/emulated/0/帅哥.zip","123456")
说明:无
最后更新于2年前
这有帮助吗?