C# Класс Telerik.Sitefinity.Amazon.BlobStorage.AmazonBlobStorageProvider

This provider implements the logic for persisting BLOB data on Amazon S3 Storage.
Наследование: CloudBlobStorageProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
BlobExists ( IBlobContentLocation location ) : bool

Determines whether a blob item under the specified location exists.

Copy ( IBlobContentLocation source, IBlobContentLocation destination ) : void

Copies the source content to the specified destination on the remote blob storage.

Delete ( IBlobContentLocation location ) : void

Deletes the blob item stored under the specified blob location

GetDownloadStream ( IBlobContent content ) : Stream

Gets the download stream for a specific content..

GetItemUrl ( IBlobContentLocation content ) : string

Resolves the content item's external URL on the remote blob storage.

GetProperties ( IBlobContentLocation location ) : IBlobProperties

Gets the content type, cache control settings, etc. of a blob.

GetUploadStream ( IBlobContent content ) : Stream

Gets the upload stream for a specific content.

SetProperties ( IBlobContentLocation location, IBlobProperties properties ) : void

Sets the properties, like cacheControl, content type, etc.

Upload ( IBlobContent content, Stream source, int bufferSize ) : long

Uploads the specified content item to the remote blob storage.

Защищенные методы

Метод Описание
InitializeStorage ( NameValueCollection config ) : void

Initializes access to the remote storage.

Описание методов

BlobExists() публичный Метод

Determines whether a blob item under the specified location exists.
public BlobExists ( IBlobContentLocation location ) : bool
location IBlobContentLocation Descriptor of the item on the remote blob storage.
Результат bool

Copy() публичный Метод

Copies the source content to the specified destination on the remote blob storage.
public Copy ( IBlobContentLocation source, IBlobContentLocation destination ) : void
source IBlobContentLocation Descriptor of the source item on the remote blob storage.
destination IBlobContentLocation Descriptor of the destination item on the remote blob storage.
Результат void

Delete() публичный Метод

Deletes the blob item stored under the specified blob location
public Delete ( IBlobContentLocation location ) : void
location IBlobContentLocation Descriptor of the item on the remote blob storage.
Результат void

GetDownloadStream() публичный Метод

Gets the download stream for a specific content..
public GetDownloadStream ( IBlobContent content ) : Stream
content IBlobContent Descriptor of the item on the remote blob storage.
Результат Stream

GetItemUrl() публичный Метод

Resolves the content item's external URL on the remote blob storage.
public GetItemUrl ( IBlobContentLocation content ) : string
content IBlobContentLocation Descriptor of the item on the remote blob storage for which to retrieve the URL.
Результат string

GetProperties() публичный Метод

Gets the content type, cache control settings, etc. of a blob.
public GetProperties ( IBlobContentLocation location ) : IBlobProperties
location IBlobContentLocation Descriptor of the item on the remote blob storage.
Результат IBlobProperties

GetUploadStream() публичный Метод

Gets the upload stream for a specific content.
public GetUploadStream ( IBlobContent content ) : Stream
content IBlobContent Descriptor of the item on the remote blob storage.
Результат Stream

InitializeStorage() защищенный Метод

Initializes access to the remote storage.
protected InitializeStorage ( NameValueCollection config ) : void
config System.Collections.Specialized.NameValueCollection The collection of parameters (each by its name and value) of the current provider's configuration settings.
Результат void

SetProperties() публичный Метод

Sets the properties, like cacheControl, content type, etc.
public SetProperties ( IBlobContentLocation location, IBlobProperties properties ) : void
location IBlobContentLocation Descriptor of the item on the remote blob storage.
properties IBlobProperties The properties to set.
Результат void

Upload() публичный Метод

Uploads the specified content item to the remote blob storage.
public Upload ( IBlobContent content, Stream source, int bufferSize ) : long
content IBlobContent Descriptor of the item on the remote blob storage.
source Stream The source item's content stream.
bufferSize int Size of the upload buffer.
Результат long