Class AbstractCellFormatter

    • Constructor Detail

      • AbstractCellFormatter

        public AbstractCellFormatter()
    • Method Detail

      • format

        public String format​(Object value)
        Description copied from interface: CellFormatter
        Formats the specified value into a string appropriate for displaying in a table cell. Note that null values are acceptable, and will result in the empty string.
        Specified by:
        format in interface CellFormatter
        Parameters:
        value - the value
        Returns:
        the formatted string
      • nonNullFormat

        protected abstract String nonNullFormat​(Object value)
        Formats the specified value into a string appropriate for displaying in a table cell. Note that value is guaranteed to be non-null.
        Parameters:
        value - the value
        Returns:
        the formatted string