fi.pelam.csv.cell
The IntegerCell class it self is quite simple, but this companion object is more interesting as provides Cell.Parser functions. These functions in turn produce IntegerCell instances (or errors if parsing fails) from String data.
Cell.Parser functions can be used used to upgrade cells in fi.pelam.csv.table.TableReader in an easy way by using them in a map passed to fi.pelam.csv.table.TableReaderConfig.makeCellUpgrader. The map specifies which cells should be interpreted as containing integers.
The IntegerCell class it self is quite simple, but this companion object is more interesting as provides Cell.Parser functions. These functions in turn produce IntegerCell instances (or errors if parsing fails) from String data.
Cell.Parser functions can be used used to upgrade cells in fi.pelam.csv.table.TableReader in an easy way by using them in a map passed to fi.pelam.csv.table.TableReaderConfig.makeCellUpgrader. The map specifies which cells should be interpreted as containing integers.