You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitry Katsubo (JIRA)" <ji...@apache.org> on 2010/03/04 15:31:27 UTC

[jira] Created: (COMPRESS-97) CompressorStreamFactory should support stream auto-detection

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.


[jira] Commented: (COMPRESS-97) CompressorStreamFactory should support stream auto-detection

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (COMPRESS-97) CompressorStreamFactory should support stream auto-detection

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMPRESS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved COMPRESS-97.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1

Names are public as of svn revision 919035

> 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
>             Fix For: 1.1
>
>
> 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.