[Building Sakai] ResourcesToolActionPipe: When does it "stream" ?

Branden Visser branden at uwindsor.ca
Fri Oct 16 13:00:56 PDT 2009


For posterity: I managed to debug this down to the line and traced it to 
SAK-16806. It had all the info I needed.

Thanks,
Branden

Branden Visser wrote:
> I received no response for this on- or off-list, but this is pretty 
> important for us to test an enhancement that streams binary content to 
> the database.
> 
> Any advice on how to test this would be greatly appreciated.
> 
> Thanks,
> Branden
> 
> Branden Visser wrote:
>> Hi all,
>>
>> When will the ResourcesToolActionPipe hold a stream instead of the 
>> binary content?
>>
>> The JavaDoc states when it is a certain size or type [1], but does 
>> anyone know where those boundaries are? Plain english or a pointer to a 
>> java file will do.
>>
>> Looking forward, would it be a best practice to always use a stream 
>> instead of a byte array until the last possibly minute? If so, can we 
>> @Deprecate the content methods that are using byte[] ?
>>
>> Cheers,
>> Branden
>>
>> [1] 
>> http://qa1-nl.sakaiproject.org/codereview/trunk/api/org/sakaiproject/content/api/ResourceToolActionPipe.java.html#58
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"


More information about the sakai-dev mailing list