Package org.adempiere.report.jasper
Class MsgResourceBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- org.adempiere.report.jasper.MsgResourceBundle
-
public class MsgResourceBundle extends ResourceBundle
Resource bundle wrapper forMsg.translate(String, boolean, String)
- Author:
- hengsin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
-
Field Summary
-
Fields inherited from class java.util.ResourceBundle
parent
-
-
Constructor Summary
Constructors Constructor Description MsgResourceBundle(ResourceBundle overridingResourceBundle)
MsgResourceBundle(ResourceBundle overridingResourceBundle, Locale locale, String adLanguage, boolean isSOTrx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(String key)
String
getBaseBundleName()
Enumeration<String>
getKeys()
Locale
getLocale()
protected Object
handleGetObject(String key)
-
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParent
-
-
-
-
Constructor Detail
-
MsgResourceBundle
public MsgResourceBundle(ResourceBundle overridingResourceBundle)
- Parameters:
overridingResourceBundle
-
-
MsgResourceBundle
public MsgResourceBundle(ResourceBundle overridingResourceBundle, Locale locale, String adLanguage, boolean isSOTrx)
- Parameters:
overridingResourceBundle
-locale
-adLanguage
-isSOTrx
-
-
-
Method Detail
-
handleGetObject
protected Object handleGetObject(String key)
- Specified by:
handleGetObject
in classResourceBundle
-
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeys
in classResourceBundle
-
getLocale
public Locale getLocale()
- Overrides:
getLocale
in classResourceBundle
-
getBaseBundleName
public String getBaseBundleName()
- Overrides:
getBaseBundleName
in classResourceBundle
-
containsKey
public boolean containsKey(String key)
- Overrides:
containsKey
in classResourceBundle
-
-