[opencms-dev] create resource with api

Valerio Synclab v.vianello at synclab.it
Tue Jul 6 11:07:33 CEST 2010


Hi list,

 

I would ask you, if you know a better way to create a new resource in
Opencms VFS through the API, I am currently using the following method:

 

cmsObject.createResource(resourcename, type, content, properties)

 

the problem I see is that this method uses a byte array as input parameter
for the content, and I think that this should be a problem if many
concurrent users use my function to upload a new file

in OCMS VFS.

 

Is there a method that uses a inputstream for the content?

 

Kind regards,

 

Valerio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100706/c5763b9c/attachment.htm>


More information about the opencms-dev mailing list