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

Stefan Bodewig commented on COMPRESS-93:
----------------------------------------

As a side effect COMPRESS-89 the stream and ZipFile classes now have 
canRead/Write methods that not only look at the compression algorithm but also 
reject encrypted entries.

WRT "alternative compression methods" - at least BZIP2 should be doable but I 
don't know how to create an archive that uses it (so I can test an 
implementation).  LZMA compression would be interesting on its own anyway.

> 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.

Reply via email to