Hi

While going through the JCR 2.0 api, I see several instances wherein its
specified that the passed inputstream would be closed. Here are a few
instances:

Node.setProperty(String, InputStream)
Property.setValue(InputStream)
ValueFactory.createValue(InputStream)
ValueFactory.createBinary(InputStream)
Session.importXML(String, InputStream, int)
Workspace.importXML(String, InputStream, int)

What is the specific reason for this? Just wondering if this would be
problematic wherein I want to let the stream remain open for e.g. when
reading from a zip file.

Regards
Satya Deep

Reply via email to