Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1527

Add payload to TikaInputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • None
    • None
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              tallison Tim Allison
              tallison Tim Allison
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: