numberColumnsForCSVHeader

fun numberColumnsForCSVHeader(sheet: Sheet): Int

Assumes that the first row is a header for a CSV like file and returns the number of columns (1 for each header)

Return

the number of header columns

Parameters

sheet

the sheet to write, must not be null