Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8121

XWikiAttachmentContent should have a way to set the content by writing to a provided OutputStream.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2-milestone-2
    • Fix Version/s: 4.2-milestone-3
    • Component/s: Storage
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      n/a
    • Documentation in Release Notes:
      n/a
    • Similar issues:

      Description

      As discussed here: http://lists.xwiki.org/pipermail/devs/2012-August/051803.html
      It would be nice to be able to set the attachment content using a provided OutputStream rather than having to provide an InputStream which is then read at the leisure of XWikiAttachmentContent.

        Attachments

          Activity

            People

            • Assignee:
              calebjamesdelisle CalebJamesDeLisle
              Reporter:
              calebjamesdelisle CalebJamesDeLisle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: