Package com.wavemaker.commons.i18n
Class ResourceManager
- java.lang.Object
-
- com.wavemaker.commons.i18n.ResourceManager
-
public class ResourceManager extends java.lang.ObjectHandles the logic for looking up values from resource bundles. This class uses Spring's MesageSource, which is actually implemented by Spring's ApplicationContext. Therefore this class is ApplicationContextAware and hence coupled to Spring.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourceManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceManagergetInstance()java.lang.StringgetMessage(java.lang.String key)java.lang.StringgetMessage(java.lang.String key, java.lang.Object... args)
-
-
-
Method Detail
-
getInstance
public static ResourceManager getInstance()
-
getMessage
public java.lang.String getMessage(java.lang.String key)
-
getMessage
public java.lang.String getMessage(java.lang.String key, java.lang.Object... args)
-
-