You are here

updateContent

public Document updateContent(Document document, ContentFile file) updates the contents of the specified document using the specified local file.

Parameters

Document document
Document the document whose content will be replaced by that of the local file.
ContentFile file
ContentFile containing new content to be applied.

Returns

Returns a Document object representing the updated document.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example