commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Stevens (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-263) Add DEFLATE support
Date Wed, 12 Feb 2014 16:40:20 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias Stevens updated COMPRESS-263:
--------------------------------------

    Description: 
GZIP is not a compression algorithm "as such". It in fact uses the DEFLATE algorithm but adds
a header of minimum 10 bytes and a footer of 8 bytes.
Find out more here: http://en.wikipedia.org/wiki/Gzip#File_format

I have no problem with the current GZIP support, but it would be nice if CommonsCompress would
also have compression and decompression support for "raw" DEFLATE streams.

Like GZIP itself this can be implemented very easily using the standard java.util.zip package.
Have a look at java.util.zip.Deflater and java.util.zip.Inflater.

  was:
GZIP is not a compression algorithm "as such". It in fact uses the DEFLATE algorithm but adds
a header of minimum 10 bytes and a footer of 8 bytes.
Find out more here: http://en.wikipedia.org/wiki/Gzip#File_format

I have no problem with the current GZIP support, but it would be nice if CommonsCompress would
also have compression and decompression support for "raw" DEFLATE streams.

Like GZIP itself this can be implemented very easily using the standard java.util.zip package.
Have a look at import java.util.zip.Deflater and java.util.zip.Inflater.


> Add DEFLATE support
> -------------------
>
>                 Key: COMPRESS-263
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-263
>             Project: Commons Compress
>          Issue Type: New Feature
>          Components: Compressors
>            Reporter: Matthias Stevens
>              Labels: features
>
> GZIP is not a compression algorithm "as such". It in fact uses the DEFLATE algorithm
but adds a header of minimum 10 bytes and a footer of 8 bytes.
> Find out more here: http://en.wikipedia.org/wiki/Gzip#File_format
> I have no problem with the current GZIP support, but it would be nice if CommonsCompress
would also have compression and decompression support for "raw" DEFLATE streams.
> Like GZIP itself this can be implemented very easily using the standard java.util.zip
package.
> Have a look at java.util.zip.Deflater and java.util.zip.Inflater.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message