[
https://issues.apache.org/jira/browse/COMPRESS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835708#action_12835708
]
Jukka Zitting commented on COMPRESS-93:
---------------------------------------
I'll only update Tika once we have a new release of Commons Compress, so it's
OK to adjust the implementation.
The canRead() method is also good (I like how it also covers encryption), and I
can easily adjust the TIKA-346 patch to use it instead. I guess it would be
good to remove the isSupportedCompressionMethod() method now to avoid polluting
the public API with multiple methods for pretty much the same purpose.
> 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.