AbstractStorageProvider Class |
Namespace: CMS.IO
public abstract class AbstractStorageProvider
The AbstractStorageProvider type exposes the following members.
Name | Description | |
---|---|---|
AbstractStorageProvider |
Constructor
|
Name | Description | |
---|---|---|
DIRECTORY |
Directory suffix.
| |
DIRECTORY_INFO |
Directory info suffix.
| |
DIRECTORY_LOCK |
Directory lock suffix.
| |
FILE |
File suffix.
| |
FILE_INFO |
File info suffix.
| |
FILE_STREAM |
File stream suffix.
|
Name | Description | |
---|---|---|
CustomRootPath |
Gets or sets Custom path where files should be stored.
| |
CustomRootUrl | Obsolete.
Specifies custom root URL for provider.
| |
DefaultProvider |
Default storage provider
| |
DirectoryProviderObject |
Returns CMSDirectoryProvider object.
| |
ExternalStorageName |
Returns name of external storage (if current instance running on external storage).
| |
FileProviderObject |
Returns AbstractFile object.
| |
HasCustomRootPath |
Returns whether provider has custom root path.
| |
IsExternalStorage |
Returns whether current instance is running on external storage.
| |
IsSharedStorage |
Returns whether current instance is running on shared storage.
| |
MappedPath |
Mapped path
| |
Name |
Provider name
| |
ParentStorageProvider |
Parent storage provider
| |
ProviderAssembly |
Custom Provider library assembly.
| |
ProviderAssemblyName |
Custom Provider library assembly.
| |
PublicExternalFolderObject |
Gets or sets whether external storage folder object (i.e. Container for WA blob storage) has public access or not.
| |
SystemProvider |
System.IO storage provider
|
Name | Description | |
---|---|---|
CreateDirectoryProviderObject |
Creates new directory provider object
| |
CreateFileProviderObject |
Creates new directory provider object
| |
GetDirectoryInfo |
Returns new instance of directory info.
| |
GetFileInfo |
Returns new instance of FileInfo object.
| |
GetFileStream(String, FileMode) |
Returns new instance of file stream.
| |
GetFileStream(String, FileMode, FileAccess) |
Returns new instance of file stream.
| |
GetFileStream(String, FileMode, FileAccess, FileShare) |
Returns new instance of file stream.
| |
GetFileStream(String, FileMode, FileAccess, FileShare, Int32) |
Returns new instance of file stream.
| |
GetFullPath |
Converts the external mapped path to the internal path of the provider
| |
GetInternalProvider |
Gets the storage provider based on the given path.
| |
GetStorageProviderInternal |
Gets the storage provider based on the given path.
| |
GetTargetPhysicalPath |
Maps virtual file system path to the target one. Remaps only paths inside the web application path structure.
| |
GetVirtualPhysicalPath |
Maps target file system path to virtual path. Remaps only paths inside the web application path structure.
| |
MapStoragePath |
Maps the given storage path to a specific provider
| |
RemoveMappedProvider |
Removes a mapped provider from the mapped collection
| |
UnMapStoragePath |
Removes the mapping to a storage provider
|