C# Class com.Sconit.Utility.FlatFileReader

Mostra file Open project: Novthirteen/yfkey-scms Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
FlatFileReader ( Stream s ) : System
FlatFileReader ( Stream s, Encoding enc ) : System
FlatFileReader ( Stream s, Encoding enc, string delimiter ) : System
FlatFileReader ( string filename ) : System
FlatFileReader ( string filename, Encoding enc ) : System
FlatFileReader ( string filename, Encoding enc, string delimiter ) : System
ReadLine ( ) : string[]

Private Methods

Method Description
FindSingleQuote ( string data, int startFrom ) : int
ParseField ( string data, int &startSeparatorPosition ) : string
ParseFields ( ArrayList result, string data ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FlatFileReader() public method

public FlatFileReader ( Stream s ) : System
s Stream
return System

FlatFileReader() public method

public FlatFileReader ( Stream s, Encoding enc ) : System
s Stream
enc System.Text.Encoding
return System

FlatFileReader() public method

public FlatFileReader ( Stream s, Encoding enc, string delimiter ) : System
s Stream
enc System.Text.Encoding
delimiter string
return System

FlatFileReader() public method

public FlatFileReader ( string filename ) : System
filename string
return System

FlatFileReader() public method

public FlatFileReader ( string filename, Encoding enc ) : System
filename string
enc System.Text.Encoding
return System

FlatFileReader() public method

public FlatFileReader ( string filename, Encoding enc, string delimiter ) : System
filename string
enc System.Text.Encoding
delimiter string
return System

ReadLine() public method

public ReadLine ( ) : string[]
return string[]