[
https://issues.apache.org/jira/browse/JCR-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger updated JCR-2235:
----------------------------------
Attachment: JCR-2235.patch
> Set binary property data using OutputStream
> -------------------------------------------
>
> Key: JCR-2235
> URL: https://issues.apache.org/jira/browse/JCR-2235
> Project: Jackrabbit Content Repository
> Issue Type: New Feature
> Components: jackrabbit-jcr-commons
> Reporter: Marcel Reutegger
> Attachments: JCR-2235.patch
>
>
> This is a helper class that allows to write binary data into an output stream
> which is piped into an input stream that can be provided to the methods
> Node.setProperty(String, InputStream), ValueFactory.createBinary(InputStream)
> or Property.setValue(InputStream).
> This class may help to avoid creating a temporary file that contains the data
> that will be set. Instead of streaming the data from a temp file, the data
> can be written directly into the repository.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.