|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.util.PluginMessages
public final class PluginMessages
Simple utility for messages. Usage:
[...]
private static final PluginMessages MESSAGES = PluginMessages.getMessages([class]).
[...]
MESSAGES.getString([key])
Method Summary | |
---|---|
static PluginMessages |
getMessages(Class<?> someClassInPackage)
Factory method. |
static PluginMessages |
getMessages(String packageName)
Factory method. |
String |
getPackageName()
|
String |
getString(String key)
|
String |
getString(String key,
String param1)
|
String |
getString(String key,
String param1,
String param2)
|
String |
getString(String key,
String param1,
String param2,
String param3)
|
String |
getString(String key,
String param1,
String param2,
String param3,
String param4)
|
String |
getString(String key,
String param1,
String param2,
String param3,
String param4,
String param5)
|
String |
getString(String key,
String param1,
String param2,
String param3,
String param4,
String param5,
String param6)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static PluginMessages getMessages(String packageName) throws IllegalArgumentException
packageName
- package name.
IllegalArgumentException
- if package name is blank.public static PluginMessages getMessages(Class<?> someClassInPackage) throws IllegalArgumentException
someClassInPackage
- some class in package.
IllegalArgumentException
- if class is nullpublic String getPackageName()
public String getString(String key)
key
- the key.
public String getString(String key, String param1)
key
- the key.param1
- the param1.
public String getString(String key, String param1, String param2)
key
- the key.param1
- the param1.param2
- the param2.
public String getString(String key, String param1, String param2, String param3)
key
- the key.param1
- the param1.param2
- the param2.param3
- the param3.
public String getString(String key, String param1, String param2, String param3, String param4)
key
- the key.param1
- the param1.param2
- the param2.param3
- the param3.param4
- the param4.
public String getString(String key, String param1, String param2, String param3, String param4, String param5)
key
- the key.param1
- the param1.param2
- the param2.param3
- the param3.param4
- the param4.param5
- the param5.
public String getString(String key, String param1, String param2, String param3, String param4, String param5, String param6)
key
- the key.param1
- the param1.param2
- the param2.param3
- the param3.param4
- the param4.param5
- the param5.param6
- the param6.
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |