Importer Interface
ImporterInterface
Defines the interface for an importer. An importer loads an Spreadsheet file and returns a map of sheets
Kind: global class
- ImporterInterface
- .loadFile(fileName)
- .sheetNames() ⇒
array - .cellValue(sheetName, column, row) ⇒
string - .clear()
importerInterface.loadFile(fileName)
Opens a file and loads it. This could be spreadsheet or whatever file.
Kind: instance method of ImporterInterface
| Param | Type | Description |
|---|---|---|
| fileName | string | The file to open |
importerInterface.sheetNames() ⇒ array
Returns all the loaded sheet names
Kind: instance method of ImporterInterface
Returns: array - sheets A list of sheet names
importerInterface.cellValue(sheetName, column, row) ⇒ string
Returns the Cell value from the sheet with the given name
Kind: instance method of ImporterInterface
Returns: string - value The Cell value
| Param | Type | Description |
|---|---|---|
| sheetName | string | The name of the sheet |
| column | number | The column number start with '0' |
| row | number | The row number start with '0' |
importerInterface.clear()
Free some memory
Kind: instance method of ImporterInterface