Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.i18n
Interface MessageLookup
All Known Subinterfaces:
DictionaryService, MessageService

public interface MessageLookup
An object providing basic message lookup facilities. May (or may not) be directly conntect to resource bundles.

Method Summary
getMessage(String messageKey)
          Get message from registered resource bundle.
getMessage(String messageKey, Locale locale)
          Get a localised message string
getMessage(String messageKey, Locale locale, Object... params)
          Get a localised message string, parameterized using standard MessageFormatter.
getMessage(String messageKey, Object... params)
          Get a localised message string, parameterized using standard MessageFormatter.
Method Detail
getMessage
@NotAuditable
String getMessage(String messageKey)
Get message from registered resource bundle.
Parameters:
messageKey - message key
Returns:
localised message string, null if not found

getMessage
@NotAuditable
String getMessage(String messageKey,
                  Locale locale)
Get a localised message string
Parameters:
messageKey - the message key
locale - override the current locale
Returns:
the localised message string, null if not found

getMessage
@NotAuditable
String getMessage(String messageKey,
                  Object... params)
Get a localised message string, parameterized using standard MessageFormatter.
Parameters:
messageKey - message key
params - format parameters
Returns:
the localised string, null if not found

getMessage
@NotAuditable
String getMessage(String messageKey,
                  Locale locale,
                  Object... params)
Get a localised message string, parameterized using standard MessageFormatter.
Parameters:
messageKey - the message key
locale - override current locale
params - the localised message string
Returns:
the localised string, null if not found

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.