C# Class gp.Files.FileLoader

Exibir arquivo Open project: vatsal/getputs

Public Methods

Method Description
LoadFileInArrayList ( string filename ) : ArrayList
LoadFileInDictionary ( string filename ) : bool>.Dictionary
LoadFileInHashtable ( string filename, string splitter ) : Hashtable

Load the Contents of a "|" seperated file in a HashTable. The Content[0] = "Key", Content[1] = "Value"

LoadFileInList ( string filename, bool maintainCase ) : List

Read a File and Store it into a List.

Method Details

LoadFileInArrayList() public static method

public static LoadFileInArrayList ( string filename ) : ArrayList
filename string
return System.Collections.ArrayList

LoadFileInDictionary() public static method

public static LoadFileInDictionary ( string filename ) : bool>.Dictionary
filename string
return bool>.Dictionary

LoadFileInHashtable() public static method

Load the Contents of a "|" seperated file in a HashTable. The Content[0] = "Key", Content[1] = "Value"
public static LoadFileInHashtable ( string filename, string splitter ) : Hashtable
filename string The input file.
splitter string
return System.Collections.Hashtable

LoadFileInList() public static method

Read a File and Store it into a List.
public static LoadFileInList ( string filename, bool maintainCase ) : List
filename string The File to be read into a List.
maintainCase bool If True: Maintain the Case of the Words in the File. If False: Convert everything into LowerCase.
return List