Interface TableCellTransformer<T>

Type Parameters:
T - the target type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@API(status=STABLE) @FunctionalInterface public interface TableCellTransformer<T>
Transforms a single table cell to an instance of T.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable T
    transform(@Nullable String cell)
    Transforms a single table cell to an instance of T.
  • Method Details

    • transform

      @Nullable T transform(@Nullable String cell) throws Throwable
      Transforms a single table cell to an instance of T.
      Parameters:
      cell - the contents of a cell.
      Returns:
      an instance of T
      Throws:
      Throwable - when the transform fails for any reason