Class AbstractMessageHandler

java.lang.Object
org.pentaho.di.i18n.AbstractMessageHandler
All Implemented Interfaces:
MessageHandler, Handler
Direct Known Subclasses:
GlobalMessages

public abstract class AbstractMessageHandler extends Object implements MessageHandler
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 Details

    • AbstractMessageHandler

      public AbstractMessageHandler()
  • Method Details

    • getInstance

      public static MessageHandler getInstance()
      forced override to allow singleton instantiation through dynamic class loader
      Returns:
      MessageHandler
      See Also:
    • getLocale

      public static Locale getLocale()
      forced override, concrete implementations must provide implementation
      Returns:
      Locale
    • setLocale

      public static void setLocale(Locale newLocale)
      forced override, concrete implementations must provide implementation
      Parameters:
      newLocale -