Class MultiStreamPath
MultiStreamPath class
This class works with formats which contains several files.
public class MultiStreamPath : AbstractPath, IDisposable
Constructors
| Name | Description |
|---|
| MultiStreamPath(string, Dictionary<string, Stream>) | Create an instance of MultiStreamPath. |
Properties
| Name | Description |
|---|
| override Location { get; } | Gets a string representation of the location of this AbstractPath. |
| override Separator { get; } | Gets a separator character used to separate directory levels of the Location string. |
| StreamSet { get; } | A set of actual streams that are mapped to filenames. |
Methods
| Name | Description |
|---|
| virtual Combine(string) | Combines this AbstractPath with specified path components. |
| override Delete() | Deletes a file pointed to by this path. |
| Dispose() | Destroy the object and its contents. |
| GetExtension() | Returns the extension of this AbstractPath. |
| GetFileName() | Returns the file name and extension of this AbstractPath. |
| GetFileNameWithoutExtension() | Returns the file name of this AbstractPath without the extension. |
| override IsFile() | Gets a value indicating whether this path points to an existing file that can be opened for reading. |
| override ListDirectory() | Returns paths located inside this AbstractPath, if it’s a directory. |
| override Open(FileAccess) | Abstracts a set of open streaming multi-file formats a path for accessing data. |
| virtual WithExtension(string) | Returns a new AbstractPath with the file extension changed to the specified value. |
See Also