Interface TableCellByTypeTransformer

  • 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 TableCellByTypeTransformer
    Transformer for single cell. Similar to TableCellTransformer but additionally it receives expected Type of cell.
    See Also:
    TableCellTransformer
    • Method Detail

      • transform

        Object transform​(String cellValue,
                         Type toValueType)
                  throws Throwable
        Transforms single cell to value of type
        Parameters:
        cellValue - cell
        toValueType - expected cell type
        Returns:
        an instance of type
        Throws:
        Throwable - when unable to transform