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

Nick Burch commented on TIKA-1243:
----------------------------------

7z is not compatible with streams, it only works with files. So, we'll need to 
catch the "sorry it's a 7z - files only" exception, ensure the stream we have 
is a TikaInputStream (converting if needed), then open from a File not a 
stream. All this when Commons Compress 1.8 is ought, though the patch could be 
prepared now to be included when 1.8 is out!

> Support for 7z archives
> -----------------------
>
>                 Key: TIKA-1243
>                 URL: https://issues.apache.org/jira/browse/TIKA-1243
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.5
>            Reporter: Luis Filipe Nassif
>            Priority: Minor
>
> I think upgrading to Apache Commons Compress 1.7 and adding 
> "application/x-7z-compressed" to PackageParser supported types will fix this.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to