public abstract class AbstractCellFormatter extends Object implements CellFormatter
CellFormatter. This class takes care of
dealing with null inputs; subclasses should implement their format method
knowing that the input is guaranteed to be non-null.| Constructor and Description |
|---|
AbstractCellFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Object value)
Formats the specified value into a string appropriate for displaying
in a table cell.
|
protected abstract String |
nonNullFormat(Object value)
Formats the specified value into a string appropriate for displaying
in a table cell.
|
public String format(Object value)
CellFormatterformat in interface CellFormattervalue - the value