[
https://issues.apache.org/jira/browse/COMPRESS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841336#action_12841336
]
Stefan Bodewig commented on COMPRESS-97:
----------------------------------------
Both have been implemented in trunk already.
autodetection in svn revision 909420
string constants in svn revision 911369
the constant could better be public, though
> CompressorStreamFactory should support stream auto-detection
> ------------------------------------------------------------
>
> Key: COMPRESS-97
> URL: https://issues.apache.org/jira/browse/COMPRESS-97
> Project: Commons Compress
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Dmitry Katsubo
>
> I propose to add bzip2/gzip input stream detection to CompressorStreamFactory
> based on magic numbers (the same way it is done for ArchiveStreamFactory).
> Also "bzip2" and "gz" constants should be declared as "public static final
> String" constants to be referred by constant name (not ugly value).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.