Interface CSVTable.CellConverter

Enclosing class:
CSVTable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CSVTable.CellConverter
Conversion of one cell from its string to the value of the column's data type.
Author:
Andreas Enders, Claude (Anthropic)
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(String aCell)
     
  • Method Details

    • convert

      Object convert(String aCell) throws Exception
      Parameters:
      aCell - the string of the cell, not null
      Returns:
      the converted value (may be null)
      Throws:
      Exception - if the string cannot be converted (the cell stays a string)