gzip archive with multiple files inside

前端 未结 2 1051
天命终不由人
天命终不由人 2020-12-31 12:40

I need to create a gzip archive with multiple files inside, how can I do this without ArchiveEntry available for java.util.zip.GZIPOutputStream cla

2条回答
  •  感动是毒
    2020-12-31 13:18

    GZip compresses a stream. Typically, when people use GZip with multiple files, they also use tar to munch them together

    You can find a java tar libarary here: http://www.trustice.com/java/tar/

    Or you could use Zip instead of GZip

提交回复
热议问题