C# Class AODL.Document.Import.PlainText.CsvImporter

CsvImporter, a class for importing csv files into OpenDocument spreadsheet documents.
Inheritance: IImporter, IPublisherInfo
Show file Open project: monsterlabs/HumanRightsTracker

Public Methods

Method Description
CsvImporter ( ) : System

Initializes a new instance of the CsvImporter class.

DeleteUnpackedFiles ( ) : void
Import ( IDocument document, string filename ) : void

Imports the specified filename.

Private Methods

Method Description
CreateTables ( ArrayList lines ) : void

Creates the tables.

GetFileContent ( string fileName ) : ArrayList

Gets the content of the file.

Method Details

CsvImporter() public method

Initializes a new instance of the CsvImporter class.
public CsvImporter ( ) : System
return System

DeleteUnpackedFiles() public method

public DeleteUnpackedFiles ( ) : void
return void

Import() public method

Imports the specified filename.
public Import ( IDocument document, string filename ) : void
document IDocument The TextDocument to fill.
filename string The filename.
return void