+1 for the idea in general but same comment than
Marius
On Tue, Aug 7, 2012 at 7:35 AM, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> wrote:
I understand the need and I'm +1 but I
don't like the method name
(neither setContent() nor addContent()). WDYT about getOutputStream()
?
Thanks,
Marius
On Tue, Aug 7, 2012 at 12:06 AM, Caleb James DeLisle
<calebdelisle(a)lavabit.com> wrote:
Hi,
In the development of Cassandra attachments, I found I want to load an attachment one
chunk at a time and
write that chunk to a provided OutputStream, this is how I envision next generation
Hibernate attachments working too.
I would like to add to XWikiAttachmentContent:
public OutputStream addContent();
which returns an OutputStream that allows writing the attachment content and upon close,
sets the attachment content as dirty and resets the size field.
WDYT?
Caleb
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs