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)

Reply via email to