Class Index | File Index

Classes


Class orion.download.FileDownloader


Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.ui/web/orion/fileDownloader.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.download.FileDownloader(fileClient, statusService, progressService)
Method Summary
Method Attributes Method Name and Description
 
downloadFromBlob(blobContents, fileName, contentType, forceDownload, createLink)
 
downloadFromLocation(fileMetaData, contentType, forceDownload)
Class Detail
orion.download.FileDownloader(fileClient, statusService, progressService)
Parameters:
{orion.fileClient.FileClient} fileClient Optional
The file client that supports readBlob API.
{orion.status.StatusReportingService} statusService Optional, Default: null
Optional. If defined status is reported while downloading.
{orion.progress.ProgressService} progressService Optional, Default: null
Optional. If defined progress is reported while downloading.
Method Detail
downloadFromBlob(blobContents, fileName, contentType, forceDownload, createLink)
Parameters:
blobContents
fileName
contentType
forceDownload
createLink

downloadFromLocation(fileMetaData, contentType, forceDownload)
Parameters:
fileMetaData
contentType
forceDownload

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 18 2017 12:15:10 GMT-0500 (EST)