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
zipFilePathstringPath to the zip file
mappedPathstringMapped path
parentProviderAbstractStorageProviderParent 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
pathstringPath
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
fileNamestringFile 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
pathstringPath to file
modeFileModeFile 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
pathstringPath to file
modeFileModeFile mode
accessFileAccessFile 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
pathstringPath to file
modeFileModeFile mode
accessFileAccessFile access
shareFileShareSharing 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
pathstringPath to file
modeFileModeFile mode
accessFileAccessFile access
shareFileShareSharing permissions
bufferSizeintBuffer 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
pathstringInput path