commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COMPRESS-93) Support for alternative ZIP compression methods
Date Wed, 09 Jun 2010 22:42:15 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877243#action_12877243
] 

Emmanuel Bourg commented on COMPRESS-93:
----------------------------------------

After looking quickly at the code it's straightforward to add support for bzip2 compression
to the ZipFile class. However it seems less trivial with ZipArchiveInput/OutputStream, these
classes are strongly tied to the deflate compression method. Ideally they should be refactored
to delegate the compression work to an external class (either a stream or a class similar
to Inflater/Deflater, I don't know which approach is better).

> Support for alternative ZIP compression methods
> -----------------------------------------------
>
>                 Key: COMPRESS-93
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-93
>             Project: Commons Compress
>          Issue Type: New Feature
>            Reporter: Jukka Zitting
>
> As reported in TIKA-346, a ZIP file that uses a compression method other than STORED
(0) or DEFLATED (8) will cause an IllegalArgumentException ("invalid compression method")
to be thrown.
> It would be great if commons-compress supported alternative compression methods or at
least degraded more gracefully when encountering them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message