Extends
Members
columns :Array.<AbstractColumn>
List of columns forming this row descriptor.
Type:
- Array.<AbstractColumn>
- Inherited From:
- Source:
lineSize :number
Total line size width in characters calculated from the last column's end position.
Type:
- number
- Inherited From:
- Source:
Methods
getValues(rowLine) → {Record.<string, *>}
Extracts and parses a raw fixed-width row line string into a key-value object of typed values.
Parameters:
| Name | Type | Description |
|---|---|---|
rowLine |
string | Fixed-width row string matching the line size. |
- Inherited From:
- Source:
Throws:
-
If rowLine is not a string.
- Type
- TypeError
Returns:
Object containing parsed column key-value pairs.
- Type
- Record.<string, *>
validatePositions()
Validates contiguous column alignment starting from position 1 without gaps or overlaps.
- Inherited From:
- Source:
Throws:
-
If alignment check fails.
- Type
- Error