commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Chanan (JIRA)" <>
Subject [jira] [Created] (COMPRESS-220) createCompressorInputStream with decompressConcatenated option
Date Mon, 04 Mar 2013 22:09:12 GMT
Gregory Chanan created COMPRESS-220:

             Summary: createCompressorInputStream with decompressConcatenated option
                 Key: COMPRESS-220
             Project: Commons Compress
          Issue Type: Improvement
          Components: Compressors
    Affects Versions: 1.4.1
            Reporter: Gregory Chanan
            Priority: Minor

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.


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:

View raw message