StorageProvider Class |
Namespace: CMS.IO
public class StorageProvider : AbstractStorageProvider
The StorageProvider type exposes the following members.
Name | Description | |
---|---|---|
StorageProvider | Obsolete.
Constructor - Default file system provider
| |
StorageProvider(String, String, Boolean) |
Creates new instance of custom storage provider.
|
Name | Description | |
---|---|---|
DEFAULT_STORAGE | Obsolete.
Assembly name of the default storage provider
|
Name | Description | |
---|---|---|
CustomRootPath |
Gets or sets Custom path where files should be stored.
(Inherited from AbstractStorageProvider.) | |
CustomRootUrl | Obsolete.
Specifies custom root URL for provider.
(Inherited from AbstractStorageProvider.) | |
DirectoryProviderObject |
Returns CMSDirectoryProvider object.
(Inherited from AbstractStorageProvider.) | |
ExternalStorageName |
Returns name of external storage (if current instance running on external storage).
(Inherited from AbstractStorageProvider.) | |
FileProviderObject |
Returns AbstractFile object.
(Inherited from AbstractStorageProvider.) | |
HasCustomRootPath |
Returns whether provider has custom root path.
(Inherited from AbstractStorageProvider.) | |
IsExternalStorage |
Returns whether current instance is running on external storage.
(Inherited from AbstractStorageProvider.) | |
IsSharedStorage |
Returns whether current instance is running on shared storage.
(Inherited from AbstractStorageProvider.) | |
MappedPath |
Mapped path
(Inherited from AbstractStorageProvider.) | |
Name |
Provider name
(Inherited from AbstractStorageProvider.) | |
ParentStorageProvider |
Parent storage provider
(Inherited from AbstractStorageProvider.) | |
ProviderAssembly |
Custom Provider library assembly.
(Inherited from AbstractStorageProvider.) | |
ProviderAssemblyName |
Custom Provider library assembly.
(Inherited from AbstractStorageProvider.) | |
PublicExternalFolderObject |
Gets or sets whether external storage folder object (i.e. Container for WA blob storage) has public access or not.
(Inherited from AbstractStorageProvider.) |
Name | Description | |
---|---|---|
CreateAmazonStorageProvider |
Creates new instance of storage provider for files hosted in Amazon S3 cloud storage.
| |
CreateAzureStorageProvider |
Creates new instance of storage provider for files hosted in Azure cloud storage.
| |
CreateDirectoryProviderObject |
Creates new directory provider object
(Overrides AbstractStorageProviderCreateDirectoryProviderObject.) | |
CreateFileProviderObject |
Creates new directory provider object
(Overrides AbstractStorageProviderCreateFileProviderObject.) | |
CreateFileSystemStorageProvider |
Creates new instance of storage provider for System.IO file system.
| |
GetDirectoryInfo |
Returns new instance of directory info.
(Overrides AbstractStorageProviderGetDirectoryInfo(String).) | |
GetFileInfo |
Returns new instance of FileInfo object.
(Overrides AbstractStorageProviderGetFileInfo(String).) | |
GetFileStream(String, FileMode) |
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode).) | |
GetFileStream(String, FileMode, FileAccess) |
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode, FileAccess).) | |
GetFileStream(String, FileMode, FileAccess, FileShare) |
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode, FileAccess, FileShare).) | |
GetFileStream(String, FileMode, FileAccess, FileShare, Int32) |
Returns new instance of file stream.
(Overrides AbstractStorageProviderGetFileStream(String, FileMode, FileAccess, FileShare, Int32).) | |
GetFullPath |
Converts the external mapped path to the internal path of the provider
(Inherited from AbstractStorageProvider.) | |
GetInternalProvider |
Gets the storage provider based on the given path.
(Inherited from AbstractStorageProvider.) | |
GetStorageProviderInternal |
Gets the storage provider based on the given path.
(Inherited from AbstractStorageProvider.) | |
MapStoragePath |
Maps the given storage path to a specific provider
(Inherited from AbstractStorageProvider.) | |
RemoveMappedProvider |
Removes a mapped provider from the mapped collection
(Inherited from AbstractStorageProvider.) | |
UnMapStoragePath |
Removes the mapping to a storage provider
(Inherited from AbstractStorageProvider.) |