Свойство | Type | Description | |
---|---|---|---|
m_baseTextLock | Object | ||
m_encoding | |||
m_reader | |||
m_writer |
Méthode | 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
|
Méthode | 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 |
Résultat | bool |
public BaseTextFile ( |
||
b | the second object | |
Résultat | System |
public BaseTextFile ( |
||
encoding | the encoding type for this file | |
Résultat | System |
public LoadFromFile ( String filename ) : bool | ||
filename | String | the name of the file to load |
Résultat | bool |
public SaveToFile ( String filename ) : bool | ||
filename | String | the name of the file to save |
Résultat | bool |
public SetEncoding ( |
||
encoding | encoding to set | |
Résultat | void |
protected abstract loadFromFile ( |
||
stream | stream from the file | |
Résultat | void |
protected writeToFile ( String toFileString ) : void | ||
toFileString | String | the string to write to the file |
Résultat | void |
protected Encoding,System.Text m_encoding | ||
Résultat |
protected StreamReader,System.IO m_reader | ||
Résultat |