Package org.apache.ofbiz.base.util
Class UtilProperties.UtilResourceBundle
java.lang.Object
java.util.ResourceBundle
org.apache.ofbiz.base.util.UtilProperties.UtilResourceBundle
- Enclosing class:
- UtilProperties
Custom ResourceBundle class. This class extends ResourceBundle
to add custom bundle caching code and support for the OFBiz custom XML
properties file format.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static ResourceBundle
getBundle
(String resource, Locale locale, ClassLoader loader) getKeys()
protected Object
handleGetObject
(String key) int
hashCode()
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParent
-
Constructor Details
-
UtilResourceBundle
protected UtilResourceBundle()
-
-
Method Details
-
getBundle
public static ResourceBundle getBundle(String resource, Locale locale, ClassLoader loader) throws MissingResourceException - Throws:
MissingResourceException
-
hashCode
public int hashCode() -
equals
-
getLocale
- Overrides:
getLocale
in classResourceBundle
-
handleGetObject
- Specified by:
handleGetObject
in classResourceBundle
-
getKeys
- Specified by:
getKeys
in classResourceBundle
-