File-system related helper functions
More...
Static Public Member Functions |
static StreamWriter | CreateStreamWriter (string filename) |
| Given a file name, create a StreamWriter
|
static StreamWriter | CreateUnixAppendStreamWriter (string filename) |
| Creates a StreamWriter which will be appended to
|
static bool | RunningOnUnix () |
| Check whether the program runs on Unix or not
|
Detailed Description
File-system related helper functions
Member Function Documentation
static StreamWriter CreateStreamWriter |
( |
string |
filename | ) |
|
|
inlinestatic |
Given a file name, create a StreamWriter
- Returns
- a StreamWriter that will write to the file
- Parameters
-
filename | name of the file to be written to |
static StreamWriter CreateUnixAppendStreamWriter |
( |
string |
filename | ) |
|
|
inlinestatic |
Creates a StreamWriter which will be appended to
- Returns
- a StreamWriter to a file that was opened with the append flag
- Parameters
-
filename | the name of the file |
static bool RunningOnUnix |
( |
| ) |
|
|
inlinestatic |
Check whether the program runs on Unix or not
- Returns
- true if it runs on Unix (including MacOS X, false otherwise)
The documentation for this class was generated from the following file: