Property | Type | Description | |
---|---|---|---|
m_baseTextLock | Object | ||
m_encoding | |||
m_reader | |||
m_writer |
Method | Description | |
---|---|---|
AppendToFile ( String filename ) : bool |
Append the text from the given file
|
|
BaseTextFile ( |
Default Copy Constructor
|
|
BaseTextFile ( |
Default Constructor
|
|
GetEncoding ( ) : |
Get current encoding
|
|
LoadFromFile ( String filename ) : bool |
Load the list of the properties from the given file
|
|
SaveToFile ( String filename ) : bool |
Save the text to the given file
|
|
SetEncoding ( |
Set encoding as given encoding
|
Method | Description | |
---|---|---|
loadFromFile ( |
Actual load Function that loads values from the file. Sub classes should implement this function |
|
writeLoop ( ) : void |
Loop Function that writes to the file. Sub classes should implement this function |
|
writeToFile ( String toFileString ) : void |
Write the given string to the file
|
public AppendToFile ( String filename ) : bool | ||
filename | String | the name of the file to append |
return | bool |
public BaseTextFile ( |
||
b | the second object | |
return | System |
public BaseTextFile ( |
||
encoding | the encoding type for this file | |
return | System |
public LoadFromFile ( String filename ) : bool | ||
filename | String | the name of the file to load |
return | bool |
public SaveToFile ( String filename ) : bool | ||
filename | String | the name of the file to save |
return | bool |
public SetEncoding ( |
||
encoding | encoding to set | |
return | void |
protected abstract loadFromFile ( |
||
stream | stream from the file | |
return | void |
protected writeToFile ( String toFileString ) : void | ||
toFileString | String | the string to write to the file |
return | void |
protected Encoding,System.Text m_encoding | ||
return |
protected StreamReader,System.IO m_reader | ||
return |