|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.list.CmsListMacroFormatter
This list formatter uses the
class for macro like formatting.MessageFormat
Constructor Summary | |
CmsListMacroFormatter(CmsMessageContainer mask)
Default constructor that sets the mask to use. |
Method Summary | |
java.lang.String |
format(java.lang.Object data,
java.util.Locale locale)
Returns a formatted string for the specified data. |
CmsMessageContainer |
getMask()
Returns the mask. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmsListMacroFormatter(CmsMessageContainer mask)
mask
- pattern for MessageFormat
Method Detail |
public java.lang.String format(java.lang.Object data, java.util.Locale locale)
I_CmsListFormatter
Take care of null
data.
format
in interface I_CmsListFormatter
data
- the data to formatlocale
- the locale for formatting
I_CmsListFormatter.format(java.lang.Object, java.util.Locale)
public CmsMessageContainer getMask()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |