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] [Commented] (COMPRESS-272) CompressorStreamFactory fails to autodetect files using Unix compress (.Z files)
Date Sat, 12 Apr 2014 13:28:20 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967500#comment-13967500
] 

Stefan Bodewig commented on COMPRESS-272:
-----------------------------------------

For 1.7 and 1.8 this is a documentation bug that I intend to rectify soon, for 1.9 we'll implement
auto-detection.

> CompressorStreamFactory fails to autodetect files using Unix compress (.Z files)
> --------------------------------------------------------------------------------
>
>                 Key: COMPRESS-272
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-272
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.7
>            Reporter: Paul Blizniak
>             Fix For: 1.9
>
>
> I use the factory classes quite extensively to guess the correct implementation of a
file that needs to be unpacked.  The current doc does list that for lzma and 7zip files, the
auto detect will not work.  I have worked around this by looking at the file extension, and
hope that its correct.
> For .Z files, I can only uncompress the file if I explicitly tell the factory that its
using .Z compression, the auto detect never works.  I'm using 1.7, but I dont think its fixed
in 1.8 either (after looking at the bug fix list).
> Either its a bug in the doc, or in the auto detect of the compressor factory.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message