`

压缩 inputstream to zipoutputstream to bytearrayoutputstream

    博客分类:
  • java
 
阅读更多
http://stackoverflow.com/questions/20221128/convert-zipoutputstream-to-bytearrayinputstream

inputstream 可以存到本地zip file

但是为了存到数据库,使用 zipoutputstream 压缩到 bytearrayoutputstream,
转换成byte[] 存到数据库
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics