This method always closes the supplied stream.
@param session the JCR session @param path the path to the file @param stream the stream containing the content to be uploaded @return the newly created 'nt:file' node @throws RepositoryException if there is a problem uploading the file @throws IOException if there is a problem using the stream @throws IllegalArgumentException is any of the parameters are null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|