Adding files to ZIP file

前端 未结 2 1694
鱼传尺愫
鱼传尺愫 2020-12-06 16:13

I am trying to add some files to a ZIP file, it creates the file but does not add anything into it. Code 1:

String fulldate = year + \"-\" + month + \"-\" +          


        
2条回答
  •  我在风中等你
    2020-12-06 16:28

    See also ZeroTurnaround's Zip library. It has such features as (citation):

    • pack and unpack directories recursively
    • iterate through ZIP entries

提交回复
热议问题