commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COMPRESS-220) createCompressorInputStream with decompressConcatenated option
Date Thu, 07 Mar 2013 16:26:13 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Bodewig resolved COMPRESS-220.
-------------------------------------

    Resolution: Fixed

change made in svn revision 1453945
                
> createCompressorInputStream with decompressConcatenated option
> --------------------------------------------------------------
>
>                 Key: COMPRESS-220
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-220
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Compressors
>    Affects Versions: 1.4.1
>            Reporter: Gregory Chanan
>            Priority: Minor
>             Fix For: 1.5
>
>
> I want to use CompressorStreamFactory.createCompressorInputStream  to detect the compressor
type for me and return the correct stream type, but I also want the stream to have decompressConcatenated
turned on.
> I can check the type of the stream returned to me, use the two-arg constructor for that
type and throw the original returned object away, but it would be simpler if there were either
additional functions to do this for me in CompressorStreamFactory, i.e.:
> createCompressorInputStream(final InputStream in, boolean decompressConcatenated)
> createCompressorInputStream(final String name, final InputStream in, boolean decompressConcatenated)
> or through another Factory method, e.g. CompressorConcatStreamFactory.
> Thoughts?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message