Class TemplateResourceBundle
- java.lang.Object
-
- org.exoplatform.commons.notification.template.TemplateResourceBundle
-
public class TemplateResourceBundle extends Object
-
-
Constructor Summary
Constructors Constructor Description TemplateResourceBundle(String language, String bundlePath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappRes(String key)StringappRes(String key, String... strs)StringgetBundlePath()StringgetLanguage()static StringgetResourceBundle(String key, Locale locale, String resourceLocale)voidsetBundlePath(String bundlePath)voidsetLanguage(String language)
-
-
-
Method Detail
-
getLanguage
public String getLanguage()
- Returns:
- the language
-
setLanguage
public void setLanguage(String language)
- Parameters:
language- the language to set
-
getBundlePath
public String getBundlePath()
- Returns:
- the bundlePath
-
setBundlePath
public void setBundlePath(String bundlePath)
- Parameters:
bundlePath- the bundlePath to set
-
-