MyMediaLite  3.11
Static Public Member Functions | List of all members
FileSystem Class Reference

File-system related helper functions More...

Static Public Member Functions

static StreamWriter CreateStreamWriter (string filename)
 Given a file name, create a StreamWriter More...
 
static StreamWriter CreateUnixAppendStreamWriter (string filename)
 Creates a StreamWriter which will be appended to More...
 
static bool RunningOnUnix ()
 Check whether the program runs on Unix or not More...
 

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
filenamename 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
filenamethe 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: