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
- 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
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
-
Constructor Details
-
LAFMessageHandler
public LAFMessageHandler()
-
-
Method Details
-
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.
-