Class ZipProviderLoader
Zip provider loader class
public sealed class ZipProviderLoader : AbstractStorageProvider
- Inheritance
-
objectZipProviderLoader
- Inherited Members
- Extension Methods
Constructors
ZipProviderLoader(string, string, AbstractStorageProvider)
Constructor
public ZipProviderLoader(string zipFilePath, string mappedPath, AbstractStorageProvider parentProvider)
Parameters
zipFilePath
stringPath to the zip file
mappedPath
stringMapped path
parentProvider
AbstractStorageProviderParent storage provider
Properties
FilePath
Zip file path
public string FilePath { get; }
Property Value
- string
Methods
CreateDirectoryProviderObject()
Creates new directory provider object
protected override AbstractDirectory CreateDirectoryProviderObject()
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
CreateFileProviderObject()
Creates new directory provider object
protected override AbstractFile CreateFileProviderObject()
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
Dispose()
Disposes the object
public void Dispose()
GetDirectoryInfo(string)
Returns new instance of directory info.
public override DirectoryInfo GetDirectoryInfo(string path)
Parameters
path
stringPath
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
GetFileInfo(string)
Returns new instance of FileInfo object.
public override FileInfo GetFileInfo(string fileName)
Parameters
fileName
stringFile name
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
GetFileStream(string, FileMode)
Returns new instance of file stream.
public override FileStream GetFileStream(string path, FileMode mode)
Parameters
path
stringPath to file
mode
FileModeFile mode
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
GetFileStream(string, FileMode, FileAccess)
Returns new instance of file stream.
public override FileStream GetFileStream(string path, FileMode mode, FileAccess access)
Parameters
path
stringPath to file
mode
FileModeFile mode
access
FileAccessFile access
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
GetFileStream(string, FileMode, FileAccess, FileShare)
Returns new instance of file stream.
public override FileStream GetFileStream(string path, FileMode mode, FileAccess access, FileShare share)
Parameters
path
stringPath to file
mode
FileModeFile mode
access
FileAccessFile access
share
FileShareSharing permissions
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
GetFileStream(string, FileMode, FileAccess, FileShare, int)
Returns new instance of file stream.
public override FileStream GetFileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)
Parameters
path
stringPath to file
mode
FileModeFile mode
access
FileAccessFile access
share
FileShareSharing permissions
bufferSize
intBuffer size
Returns
Exceptions
- NotImplementedException
Zip provider doesn't provide any IO access on it's own.
GetInternalProvider(string)
Gets the storage provider based on the given path
protected override AbstractStorageProvider GetInternalProvider(string path)
Parameters
path
stringInput path