Nanook

Nanook

  • Docs
  • API
  • GitHub

›File Processor

Logger

  • Logger Interface
  • Logger Memory

Model

  • Table Interface
  • Testcase Definition Interface
  • Todo Meta
  • Todo Static
  • Todo Generator
  • Todo Reference

Model Decision

  • Base Section Definition
  • Base Single Row Section Definition
  • Execute Section Definition
  • Never Execute Section Definition
  • Multiplicity Section Definition
  • Summary Section Definition
  • Field Section Definition
  • Field Sub Section Definition
  • Multi Row Section Definition
  • Tag Section Definition
  • Filter Section Definition
  • Generator Switch Section Definition
  • Testcase Definition Decision
  • Table Decision
  • Section Types
  • Validate Double
  • Validate Helper
  • Validate Missing

Model Matrix

  • Testcase Definition Matrix
  • Table Matrix

Importer xlsx

  • Importer xlsx

File Processor

  • Importer Interface
  • Parser Interface
  • Interface Filter
  • Simple Array Filter
  • Simple Array Ignore Filter
  • Parser Constants
  • Parser Decision Constants
  • Parser Decision
  • Parser Matrix Constants
  • Parser Matrix
  • Parser Specification Constants
  • Parser Specification
  • Parser Specification Converter

Data Generator

  • Data Generator Interface
  • Data Generator Base
  • Service Registry
  • Generator Faker

Processor

  • Interface Processor
  • Interface Writer
  • Node
  • Reference
  • Testcase Data
  • Processor
  • writeMetaData
  • writeStaticData
  • utilCartesian

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

ParamTypeDescription
fileNamestringThe 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

ParamTypeDescription
sheetNamestringThe name of the sheet
columnnumberThe column number start with '0'
rownumberThe row number start with '0'

importerInterface.clear()

Free some memory

Kind: instance method of ImporterInterface

← Importer xlsxParser Interface →
  • ImporterInterface
    • importerInterface.loadFile(fileName)
    • importerInterface.sheetNames() ⇒ array
    • importerInterface.cellValue(sheetName, column, row) ⇒ string
    • importerInterface.clear()
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io