[ https://issues.apache.org/jira/browse/TIKA-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17134389#comment-17134389 ]
Christoph Läubrich commented on TIKA-3110: ------------------------------------------ BTW: Commons.io has a foreMkDir maybe a dedicated "forceSkip" might be better? The method could behave in the following way: # use skip() and check if it has skipped the desired number of bytes # if less bytes where skipped try reading the remainder bytes with read(byte[remaining]) as one block # if still there are bytes left it could the read one byte at a time until either: ## it encountered an EOF and throw EOFException ## has read (aka skip) as much bytes as requested > cannot extract metadata from 7z .tar archive > -------------------------------------------- > > Key: TIKA-3110 > URL: https://issues.apache.org/jira/browse/TIKA-3110 > Project: Tika > Issue Type: Bug > Components: mime, parser > Affects Versions: 1.24.1 > Reporter: Alex > Priority: Major > Attachments: 7ztar.tar > > > When I extracted metadata from .tar archive wich was created by linux bash > it's works as I expect but if .tar archive was created by 7z I got an error: > TikaException: TIKA-198: Illegal IOException from > org.apache.tika.parser.pkg.PackageParser@4d0f2471 > I created a project on GitHub for your convenience. It includes 2 files and > code for play around: [https://github.com/AlexOkayJ/apache-tika-tar-issue.git] > -- This message was sent by Atlassian Jira (v8.3.4#803005)