Static Public Member Functions | |
| static Stream | OpenFile (SearchPath path, string filename, FileMode mode, FileAccess access) |
| Opens an existing file. | |
Properties | |
| static string | PathChars [get, set] |
| Indicates the characters that the application can use to specify directories, when using methods in this class to open files. | |
| static SearchPath | AssemblyPath [get, set] |
| Gets or sets the SearchPath object which contains the paths used for finding assemblies. Defaults to containing only the directory where the application executable is located. | |
| static SearchPath | ImagePath [get, set] |
| Gets or sets the SearchPath object which contains the paths used for finding images. Defaults to containing only the current directory. | |
| static SearchPath | SoundPath [get, set] |
| Gets or sets the SearchPath object which contains the paths used for finding sound files. Defaults to containing only the current directory. | |
| static SearchPath | MusicPath [get, set] |
| Gets or sets the SearchPath object which contains the paths used for finding music files. Defaults to containing only the current directory. | |
| static SearchPath | ResourcePath [get, set] |
| Gets or sets the SearchPath object which contains the paths used for finding resource definition files. Defaults to containing only the current directory. | |
| static bool | BufferStreams [get, set] |
| Gets or sets a boolean value indicating whether or not streams created by the FileManager should be wrapped in a BufferedStream object. | |
| static int | BufferSize [get, set] |
| Gets or sets how large of a buffer should be used if BufferStreams is true. | |
e
| static Stream AgateLib.Utility.FileManager.OpenFile | ( | SearchPath | path, | |
| string | filename, | |||
| FileMode | mode, | |||
| FileAccess | access | |||
| ) | [static] |
Opens an existing file.
| path | ||
| filename | ||
| mode | ||
| access |
SearchPath AgateLib.Utility.FileManager.AssemblyPath [static, get, set] |
Gets or sets the SearchPath object which contains the paths used for finding assemblies. Defaults to containing only the directory where the application executable is located.
int AgateLib.Utility.FileManager.BufferSize [static, get, set] |
Gets or sets how large of a buffer should be used if BufferStreams is true.
bool AgateLib.Utility.FileManager.BufferStreams [static, get, set] |
Gets or sets a boolean value indicating whether or not streams created by the FileManager should be wrapped in a BufferedStream object.
SearchPath AgateLib.Utility.FileManager.ImagePath [static, get, set] |
Gets or sets the SearchPath object which contains the paths used for finding images. Defaults to containing only the current directory.
SearchPath AgateLib.Utility.FileManager.MusicPath [static, get, set] |
Gets or sets the SearchPath object which contains the paths used for finding music files. Defaults to containing only the current directory.
string AgateLib.Utility.FileManager.PathChars [static, get, set] |
Indicates the characters that the application can use to specify directories, when using methods in this class to open files.
Defaults to "/".
SearchPath AgateLib.Utility.FileManager.ResourcePath [static, get, set] |
Gets or sets the SearchPath object which contains the paths used for finding resource definition files. Defaults to containing only the current directory.
SearchPath AgateLib.Utility.FileManager.SoundPath [static, get, set] |
Gets or sets the SearchPath object which contains the paths used for finding sound files. Defaults to containing only the current directory.
|
AgateLib Awesome Game and Tool Engine Library |
|