You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2015/01/22 19:39:34 UTC
[jira] [Created] (TIKA-1527) Add payload to TikaInputStream
Tim Allison created TIKA-1527:
---------------------------------
Summary: Add payload to TikaInputStream
Key: TIKA-1527
URL: https://issues.apache.org/jira/browse/TIKA-1527
Project: Tika
Issue Type: Improvement
Affects Versions: 1.7
Reporter: Tim Allison
Assignee: Tim Allison
On TIKA-1511, I found a need to pass a Java object into a an EmbeddedDocumentExtractor. I would have sent the object into the parser via ParseContext, but EmbeddedDocumentExtractor doesn't take a ParseContext, and it makes some sense that this object should be used instead of the actual TikaInputStream.
I propose adding a payload to TikaInputStream that would only be used internally by parsers of container documents passing information to EmbeddedDocumentExtractors.
Any problems with this or alternatives?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)