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 String
calculateString(String packageName, String key, Object[] parameters, Class<?> resourceClass)
Returns the localized string for the givenkey
andparameters
in a bundle defined by the the concatenation ofpackageName
andGlobalMessages.BUNDLE_NAME
, using the providedresourceClass
's class loader.static MessageHandler
getInstance()
protected void
reinit()
-
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:GlobalMessages
Returns the localized string for the givenkey
andparameters
in a bundle defined by the the concatenation ofpackageName
andGlobalMessages.BUNDLE_NAME
, using the providedresourceClass
's class loader.- Overrides:
calculateString
in 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
key
andparameters
in a bundle defined by the the concatenation ofpackageName
andGlobalMessages.BUNDLE_NAME
, using the providedresourceClass
's class loader.
-
-