
Classes | |
| class | FileInfo |
Public Member Functions | |
| TgzFileProvider (string filename) | |
| Constructs a TgzFileProvider to read from the specified archive. | |
| TgzFileProvider (string name, byte[] bytes) | |
| Constructs a TgzFileProvider to read from the specified archive from archive data loaded into a byte array. This overload is useful for a tar.gz file embedded as a resource. | |
| TgzFileProvider (string name, Stream fileStream) | |
| Constructs a TgzFileProvider to read from the specified archive. | |
| Stream | OpenRead (string filename) |
| Opens the specified file in the archive for reading. | |
| bool | FileExists (string filename) |
| Returns true if the specified file exists in the archive. | |
| IEnumerable< string > | GetAllFiles () |
| Enumerates all files in the archive. | |
| IEnumerable< string > | GetAllFiles (string searchPattern) |
| Enumerates all files matching the pattern. | |
| AgateLib.Utility.TgzFileProvider.TgzFileProvider | ( | string | filename | ) |
| AgateLib.Utility.TgzFileProvider.TgzFileProvider | ( | string | name, | |
| byte[] | bytes | |||
| ) |
Constructs a TgzFileProvider to read from the specified archive from archive data loaded into a byte array. This overload is useful for a tar.gz file embedded as a resource.
| name | ||
| bytes |
| AgateLib.Utility.TgzFileProvider.TgzFileProvider | ( | string | name, | |
| Stream | fileStream | |||
| ) |
Constructs a TgzFileProvider to read from the specified archive.
| name | A name used to identify this stream in debugging information. | |
| fileStream |
| bool AgateLib.Utility.TgzFileProvider.FileExists | ( | string | filename | ) |
Returns true if the specified file exists in the archive.
| filename |
Implements AgateLib.IFileProvider.
| IEnumerable<string> AgateLib.Utility.TgzFileProvider.GetAllFiles | ( | string | searchPattern | ) |
Enumerates all files matching the pattern.
| searchPattern |
Implements AgateLib.IFileProvider.
| IEnumerable<string> AgateLib.Utility.TgzFileProvider.GetAllFiles | ( | ) |
| Stream AgateLib.Utility.TgzFileProvider.OpenRead | ( | string | filename | ) |
Opens the specified file in the archive for reading.
| filename |
Implements AgateLib.IFileProvider.
|
AgateLib Awesome Game and Tool Engine Library |
|