Property | Type | Description | |
---|---|---|---|
Quote | int | ||
Separator | int |
Method | Description | |
---|---|---|
CsvReader ( |
Construct a inStream.
|
|
ReadAll ( ) : string[][] |
Reads all fields and records from the CSV input stream from the current location.
|
|
ReadField ( ) : string |
Reads the next field on the current line - or null after the end of the line. The field will not be part of the next ReadLine or ReadFile.
|
|
ReadRecord ( ) : string[] |
Read to the end of the current record, if any.
|
Method | Description | |
---|---|---|
DoAction ( int action, int ch ) : void |
Performs the action associated with a state transition.
|
|
Matches ( int match, int ch ) : bool |
Tests if the current character matches a test (one of the MATCH_* tests).
|
|
NextChar ( ) : int |
Returns and removes the next character from the input stream - including any that have been peeked and pushed back.
|
|
Parse ( int finalSate ) : void |
Parse the input CSV stream from the current position until the final state is reached. Intended to allow parsing to End of Field, End of Record or End of File.
|
|
PeekChar ( ) : int |
Retuns but doesn't remove the next character from the stream. This character will be returned every time this method is called until it is returned by NextChar().
|
public CsvReader ( |
||
stream | The input stream to read from. | |
return | System.Collections |