Class DefaultCellFormatter

  • All Implemented Interfaces:

    public final class DefaultCellFormatter
    extends AbstractCellFormatter
    A default cell formatter. Uses the object's toString() method.
    • Field Detail

      • INSTANCE

        public static final CellFormatter INSTANCE
        An instance of this class.
    • Method Detail

      • nonNullFormat

        public java.lang.String nonNullFormat​(java.lang.Object value)
        Description copied from class: AbstractCellFormatter
        Formats the specified value into a string appropriate for displaying in a table cell. Note that value is guaranteed to be non-null.
        Specified by:
        nonNullFormat in class AbstractCellFormatter
        value - the value
        the formatted string