Package org.pentaho.di.i18n
Class AbstractMessageHandler
java.lang.Object
org.pentaho.di.i18n.AbstractMessageHandler
- All Implemented Interfaces:
MessageHandler
,Handler
- Direct Known Subclasses:
GlobalMessages
Standard Message handler that takes a root package, plus key and resolves that into one/more resultant messages. This
Handler is used by all message types to enable flexible look and feel as well as i18n to be implemented in variable
ways.
- Author:
- dhushon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MessageHandler
forced override to allow singleton instantiation through dynamic class loaderstatic Locale
forced override, concrete implementations must provide implementationstatic void
forced override, concrete implementations must provide implementationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.pentaho.di.i18n.MessageHandler
getString, getString, getString, getString
-
Constructor Details
-
AbstractMessageHandler
public AbstractMessageHandler()
-
-
Method Details
-
getInstance
forced override to allow singleton instantiation through dynamic class loader- Returns:
- MessageHandler
- See Also:
-
getLocale
forced override, concrete implementations must provide implementation- Returns:
- Locale
-
setLocale
forced override, concrete implementations must provide implementation- Parameters:
newLocale
-
-