Package org.onosproject.ui.table.cell
Class AppIdFormatter
- java.lang.Object
-
- org.onosproject.ui.table.cell.AbstractCellFormatter
-
- org.onosproject.ui.table.cell.AppIdFormatter
-
- All Implemented Interfaces:
CellFormatter
public final class AppIdFormatter extends AbstractCellFormatter
Formats an application identifier as "(app-id) : (app-name)".
-
-
Field Summary
Fields Modifier and Type Field Description static CellFormatter
INSTANCE
An instance of this class.-
Fields inherited from class org.onosproject.ui.table.cell.AbstractCellFormatter
EMPTY, OX, QUERY, SLASH, SPACE, UNDERSCORE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
nonNullFormat(Object value)
Formats the specified value into a string appropriate for displaying in a table cell.-
Methods inherited from class org.onosproject.ui.table.cell.AbstractCellFormatter
format
-
-
-
-
Field Detail
-
INSTANCE
public static final CellFormatter INSTANCE
An instance of this class.
-
-
Method Detail
-
nonNullFormat
protected String nonNullFormat(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 classAbstractCellFormatter
- Parameters:
value
- the value- Returns:
- the formatted string
-
-