Package org.pentaho.di.i18n
Class BaseMessages
- java.lang.Object
-
- 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
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageHandler
handler
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessageHandler
getHandler()
static BaseMessages
getInstance()
protected static MessageHandler
getInstanceHandler()
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)
-
-
-
Field Detail
-
handler
protected MessageHandler handler
-
-
Method Detail
-
getInstance
public static BaseMessages getInstance()
-
getHandler
protected MessageHandler getHandler()
-
getInstanceHandler
protected static MessageHandler getInstanceHandler()
-
getString
public static String getString(String packageName, String key, Class<?> resourceClass, String... parameters)
-
getString
public static String getString(Class<?> packageClass, String key, Class<?> resourceClass, String... parameters)
-
notify
public void notify(MessageHandler changedObject)
- Specified by:
notify
in interfaceLAFChangeListener<MessageHandler>
-
-