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
Fix For: 0.1-incubator
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.