Package io.datarouter.email.html
Class J2HtmlEmailTable<T>
java.lang.Object
io.datarouter.email.html.J2HtmlEmailTable<T>
public class J2HtmlEmailTable<T> extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJ2HtmlEmailTable.J2HtmlEmailTableColumn<T>static classJ2HtmlEmailTable.J2HtmlEmailTableRow<T> -
Constructor Summary
Constructors Constructor Description J2HtmlEmailTable() -
Method Summary
Modifier and Type Method Description j2html.tags.specialized.TableTagbuild(Collection<T> values)j2html.tags.specialized.TableTagbuild(Collection<T> values, Function<T,J2HtmlEmailTable.J2HtmlEmailTableRow<T>> rowFunction)J2HtmlEmailTable<T>withColumn(J2HtmlEmailTable.J2HtmlEmailTableColumn<T> column)J2HtmlEmailTable<T>withColumn(String name, Function<T,Object> valueFunction)
-
Constructor Details
-
J2HtmlEmailTable
public J2HtmlEmailTable()
-
-
Method Details
-
withColumn
- Parameters:
valueFunction- extracts text to be escaped before becoming a cell
-
withColumn
-
build
-
build
public j2html.tags.specialized.TableTag build(Collection<T> values, Function<T,J2HtmlEmailTable.J2HtmlEmailTableRow<T>> rowFunction)
-