[
https://issues.apache.org/jira/browse/TIKA-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved TIKA-45.
-------------------------------
Resolution: Fixed
Assignee: Jukka Zitting
Committed patch in revision 582698.
> RereadableInputStream needs to be able to read to the end of the original
> stream on first rewind.
> -------------------------------------------------------------------------------------------------
>
> Key: TIKA-45
> URL: https://issues.apache.org/jira/browse/TIKA-45
> Project: Tika
> Issue Type: Improvement
> Components: general
> Affects Versions: 0.1-incubator
> Reporter: Keith R. Bennett
> Assignee: Jukka Zitting
> Fix For: 0.1-incubator
>
> Attachments: RereadableInputStream.java,
> RereadableInputStreamTest.java, tika45.patch
>
>
> RereadableInputStream reads a stream's content into a store (memory or file)
> on its first pass. If rewind() is called before end of stream is reached,
> the bytes not yet read will not be available on subsequent reads of the
> RereadableInputStream. This could be a problem, for example, if a parser
> uses it to get metadata from the beginning of a stream and calls rewind(),
> expecting to get the entire document.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.