Method | Description | |
---|---|---|
CSVReader ( Stream stream ) : System |
Initialises a new CVSReader around the given Stream.
|
|
CSVReader ( string filename ) : System |
Initialises a new CSVReader and sets up a FileStream on the given filename. Will throw some kind of Exception if the filename is no good.
|
|
ReadFile ( ) : string[][] |
Reads the file, and returns an array of strings organised [Column][Row]
|
Method | Description | |
---|---|---|
countRows ( ) : void |
Reads through the stream once and populates properties like NumberOfRows, NumberOfColumns and FirstRow.
|
|
initialise ( ) : void |
Reinitialises the stream back to the beginning
|
|
readLine ( ) : string[] |
public CSVReader ( string filename ) : System | ||
filename | string | |
return | System |