ZipStorageProvider Class |
Namespace: CMS.IO
public class ZipStorageProvider : AbstractStorageProvider, IDisposable
The ZipStorageProvider type exposes the following members.
Name | Description | |
---|---|---|
ZipStorageProvider |
Constructor
|
Name | Description | |
---|---|---|
ZIP_END |
Ending character for the zip archive within path
| |
ZIP_START |
Starting character for the zip archive within path
|
Name | Description | |
---|---|---|
CacheData |
If true, the loaded data is cached
| |
CacheDataLimit |
Limit size for the caching of the file data (bytes)
| |
CompressionBufferSize |
Size of buffer used to un/compress packages
| |
CustomRootPath |
Gets or sets Custom path where files should be stored.
(Inherited from AbstractStorageProvider.) | |
CustomRootUrl |
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.) | |
FilePath |
Zip file path
| |
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
(Overrides AbstractStorageProviderName.) | |
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.) | |
RootDirectory |
Root directory
| |
StartingPath |
Starting path that the provider will use as prefix in case it is used
(Inherited from AbstractStorageProvider.) | |
ZipFile |
Zip file info object
|
Name | Description | |
---|---|---|
CreateDirectoryProviderObject |
Creates new directory provider object
(Overrides AbstractStorageProviderCreateDirectoryProviderObject.) | |
CreateFileProviderObject |
Creates new directory provider object
(Overrides AbstractStorageProviderCreateFileProviderObject.) | |
Dispose |
Disposes the object and closes the streams if necessary
| |
Dispose(String) |
Disposes the storage provider for the given path
| |
DisposeAll |
Disposes the zip storage providers
| |
GetDirectoryInfo |
Returns new instance of directory info.
(Overrides AbstractStorageProviderGetDirectoryInfo(String).) | |
GetFileData |
Gets the particular file data
| |
GetFileEntry |
Gets the particular file data
| |
GetFileInfo |
Returns new instance of FileInfo object.
(Overrides AbstractStorageProviderGetFileInfo(String).) | |
GetFileStream(String) |
Gets a file stream for the given file
| |
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.) | |
GetZipFileName |
Gets the zip file name with the container brackets
| |
IsZipFile |
Returns true if the given file path is a zip file
| |
IsZipFolderPath |
Gets the zip file path from the given zip folder path. Returns null if the path isn't a zip folder path
| |
LoadContents |
Loads the contents of the zip file
| |
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.) |