org.pentaho.di.i18n
Class BaseMessages

java.lang.Object
  extended by org.pentaho.di.i18n.BaseMessages
All Implemented Interfaces:
LAFChangeListener<MessageHandler>

public class BaseMessages
extends Object
implements LAFChangeListener<MessageHandler>

BaseMessage is called by all Message classes to enable the delegation of message delivery, by key to be delegated to the appropriately authoritative supplier as registered in the LAFFactory enabling both i18n as well as pluggable look and feel (LAF)

Author:
dhushon

Method Summary
static BaseMessages getInstance()
           
static String getString(Class<?> packageClass, String key, Class<?> resourceClass, String... parameters)
           
static String getString(Class<?> packageClass, String key, Object... parameters)
           
static String getString(Class<?> packageClass, String key, String... parameters)
           
static String getString(String key)
           
static String getString(String packageName, String key)
           
static String getString(String packageName, String key, Class<?> resourceClass, String... parameters)
           
static String getString(String packageName, String key, String... parameters)
           
 void notify(MessageHandler changedObject)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BaseMessages getInstance()

getString

public static String getString(String key)

getString

public static String getString(String packageName,
                               String key)

getString

public static String getString(String packageName,
                               String key,
                               String... parameters)

getString

public static String getString(String packageName,
                               String key,
                               Class<?> resourceClass,
                               String... parameters)

getString

public static String getString(Class<?> packageClass,
                               String key,
                               String... parameters)

getString

public static String getString(Class<?> packageClass,
                               String key,
                               Class<?> resourceClass,
                               String... parameters)

getString

public static String getString(Class<?> packageClass,
                               String key,
                               Object... parameters)

notify

public void notify(MessageHandler changedObject)
Specified by:
notify in interface LAFChangeListener<MessageHandler>