You are here

getContentStream

public ContentStream getContentStream(Document document) throws SkyVaultServiceException downloads the content for the given document as a stream. Note: The stream must be closed.

Parameters

Document document
The document for which the content stream will be downloaded.

Returns

A ContentFile object containing the downloaded content.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example