Table of Contents

Class S3ObjectFactory

Namespace
Kentico.Xperience.AmazonStorage
Assembly
Kentico.Xperience.AmazonStorage.dll

Factory for creating S3ObjectInfo a S3ObjectInfoProvider.

public class S3ObjectFactory
Inheritance
object
S3ObjectFactory
Extension Methods

Properties

Provider

Get or set S3ObjectInfoProvider.

public static IS3ObjectInfoProvider Provider { get; set; }

Property Value

IS3ObjectInfoProvider

Methods

GetInfo(string)

Returns new instance of IS3ObjectInfo object.

public static IS3ObjectInfo GetInfo(string path)

Parameters

path string

Path with file name.

Returns

IS3ObjectInfo

GetInfo(string, bool)

Initializes new instance of S3 object info with specified bucket name.

public static IS3ObjectInfo GetInfo(string path, bool key)

Parameters

path string

Path with file name.

key bool

Specifies that given path is already object key.

Returns

IS3ObjectInfo