Gregory Chanan created COMPRESS-220:
---------------------------------------
Summary: 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
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