Package org.pentaho.di.i18n
Interface MessageHandler
-
- All Superinterfaces:
Handler
- All Known Implementing Classes:
AbstractMessageHandler,GlobalMessages,LAFMessageHandler
public interface MessageHandler extends Handler
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetString(String key)get a key from the default (System global) bundleStringgetString(String packageName, String key)get a key from the defined package bundle, by keyStringgetString(String packageName, String key, Class<?> resourceClass, String... parameters)Get a string from the defined package bundle, by key and by a resource classStringgetString(String packageName, String key, String... parameters)get a key from the defined package bundle, by key
-
-
-
Method Detail
-
getString
String getString(String key)
get a key from the default (System global) bundle- Parameters:
key-- Returns:
-
getString
String getString(String packageName, String key)
get a key from the defined package bundle, by key- Parameters:
packageName-key-- Returns:
-
getString
String getString(String packageName, String key, String... parameters)
get a key from the defined package bundle, by key- Parameters:
packageName-key-parameters-- Returns:
-
-