public final class I18NPlug
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
jumpi18n |
protected static PersonalLogger |
logger |
| Constructor and Description |
|---|
I18NPlug() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
get(java.lang.String pluginName,
java.lang.String label)
Process text with the locale 'pluginName_
|
static java.lang.String |
getMessage(java.lang.String pluginName,
java.lang.String label,
java.lang.Object[] objects)
Process text with the locale 'pluginName_
|
static void |
setPlugInRessource(java.lang.String pluginName,
java.lang.String bundle)
Set plugin I18N resource file
Tries to use locale set in command line (if set)
|
protected static PersonalLogger logger
public static boolean jumpi18n
public static void setPlugInRessource(java.lang.String pluginName,
java.lang.String bundle)
pluginName - (path + name)bundle - reference of the bundle filepublic static java.lang.String get(java.lang.String pluginName,
java.lang.String label)
pluginName - (path + name)label - public static java.lang.String getMessage(java.lang.String pluginName,
java.lang.String label,
java.lang.Object[] objects)
pluginName - (path + name)label - with argument insertion : {0}objects -