Package org.opencms.workplace.list
Class CmsListItemDetailsFormatter
- java.lang.Object
-
- org.opencms.workplace.list.CmsListItemDetailsFormatter
-
- All Implemented Interfaces:
I_CmsListFormatter
public class CmsListItemDetailsFormatter extends java.lang.Object implements I_CmsListFormatter
This list item detail formatter creates a two column table, in the first column the message is put and in the second the content self.- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsListItemDetailsFormatter(org.opencms.i18n.CmsMessageContainer message)
Default constructor that sets the mask to use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.lang.Object data, java.util.Locale locale)
Returns a formatted string for the specified data.
-
-
-
Constructor Detail
-
CmsListItemDetailsFormatter
public CmsListItemDetailsFormatter(org.opencms.i18n.CmsMessageContainer message)
Default constructor that sets the mask to use.- Parameters:
message
- header for item detail
-
-
Method Detail
-
format
public java.lang.String format(java.lang.Object data, java.util.Locale locale)
Description copied from interface:I_CmsListFormatter
Returns a formatted string for the specified data.Take care of
null
data.- Specified by:
format
in interfaceI_CmsListFormatter
- Parameters:
data
- the data to formatlocale
- the locale for formatting- Returns:
- formatted data
- See Also:
I_CmsListFormatter.format(java.lang.Object, java.util.Locale)
-
-