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

Dave Meikle commented on TIKA-149:
----------------------------------

The problem is when using the zis directly if during a parse the stream is 
closed you cannot access the next file in the ZIP. Using the stream 
manipulation you can.

I see what you mean about the delegate parser. In Tika what is the preferred 
approach for setting instance variables like this, via constructors or 
getters/setters.

> Parser for zip files
> --------------------
>
>                 Key: TIKA-149
>                 URL: https://issues.apache.org/jira/browse/TIKA-149
>             Project: Tika
>          Issue Type: New Feature
>          Components: parser
>            Reporter: Jukka Zitting
>         Attachments: TIKA-149-II.diff, TIKA-149.patch
>
>
> Tika should be able to parse zip files. The resulting XHTML document should 
> be something like this:
> <xhtml>
>   <head>...</head>
>   <body>
>     <div class="file">
>         <h1>path/to/file/inside/the/zip</h1>
>         ... (parsed contents of the file)
>     </div>
>     ...
>   </body>
> </xhtml>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to