C# Class ExoModel.ETL.DelimitedFile

Reads and writes sets of delimited files representing hierarchially related tabular data.
Exibir arquivo Open project: vc3/ExoModel

Public Methods

Method Description
Read ( ) : ITable

Reads an ExcelFile from the specified stream as an ITable instance.

Read ( char delimiter = ',', char qualifier = '"' ) : ITable

Reads an ExcelFile from the specified stream as an ITable instance.

Write ( ITable table, Stream file ) : void

Writes an ITable instance as an ExcelFile to the specified stream.

Private Methods

Method Description
ReadChildren ( Table parent, FileStream files, string path, char delimiter, char qualifier ) : void

Recursively reads child tables to build the table graph.

Method Details

Read() public static method

Reads an ExcelFile from the specified stream as an ITable instance.
public static Read ( ) : ITable
return ITable

Read() public static method

Reads an ExcelFile from the specified stream as an ITable instance.
public static Read ( char delimiter = ',', char qualifier = '"' ) : ITable
delimiter char
qualifier char
return ITable

Write() public static method

Writes an ITable instance as an ExcelFile to the specified stream.
public static Write ( ITable table, Stream file ) : void
table ITable
file Stream
return void