Package org.pentaho.di.i18n
Class LAFMessageHandler
- java.lang.Object
-
- org.pentaho.di.i18n.AbstractMessageHandler
-
- org.pentaho.di.i18n.GlobalMessages
-
- org.pentaho.di.i18n.LAFMessageHandler
-
- All Implemented Interfaces:
MessageHandler,Handler
public class LAFMessageHandler extends GlobalMessages
- Author:
- dhushon
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.i18n.GlobalMessages
BUNDLE_NAME, GMinstance, localeCodes, localeDescr, locales, log, PKG, SYSTEM_BUNDLE_PACKAGE
-
-
Constructor Summary
Constructors Constructor Description LAFMessageHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcalculateString(String packageName, String key, Object[] parameters, Class<?> resourceClass)Returns the localized string for the givenkeyandparametersin a bundle defined by the the concatenation ofpackageNameandGlobalMessages.BUNDLE_NAME, using the providedresourceClass's class loader.static MessageHandlergetInstance()protected voidreinit()-
Methods inherited from class org.pentaho.di.i18n.GlobalMessages
buildBundleName, calculateString, calculateString, getBundle, getLocales, getString, getString, getString, getString
-
Methods inherited from class org.pentaho.di.i18n.AbstractMessageHandler
getLocale, setLocale
-
-
-
-
Method Detail
-
getInstance
public static MessageHandler getInstance()
-
reinit
protected void reinit()
-
calculateString
protected String calculateString(String packageName, String key, Object[] parameters, Class<?> resourceClass)
Description copied from class:GlobalMessagesReturns the localized string for the givenkeyandparametersin a bundle defined by the the concatenation ofpackageNameandGlobalMessages.BUNDLE_NAME, using the providedresourceClass's class loader.- Overrides:
calculateStringin classGlobalMessages- Parameters:
packageName- the package containing the localized messageskey- the message key being looked upparameters- parameters within the looked up messageresourceClass- the class whose class loader is used to getch the resource bundle- Returns:
- the localized string for the given
keyandparametersin a bundle defined by the the concatenation ofpackageNameandGlobalMessages.BUNDLE_NAME, using the providedresourceClass's class loader.
-
-