Class UtilProperties.UtilResourceBundle

  • Enclosing class:
    UtilProperties

    public static class UtilProperties.UtilResourceBundle
    extends java.util.ResourceBundle
    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

        java.util.ResourceBundle.Control
    • Field Summary

      • Fields inherited from class java.util.ResourceBundle

        parent
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      static java.util.ResourceBundle getBundle​(java.lang.String resource, java.util.Locale locale, java.lang.ClassLoader loader)  
      java.util.Enumeration<java.lang.String> getKeys()  
      java.util.Locale getLocale()  
      protected java.lang.Object handleGetObject​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UtilResourceBundle

        protected UtilResourceBundle()
    • Method Detail

      • getBundle

        public static java.util.ResourceBundle getBundle​(java.lang.String resource,
                                                         java.util.Locale locale,
                                                         java.lang.ClassLoader loader)
                                                  throws java.util.MissingResourceException
        Throws:
        java.util.MissingResourceException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getLocale

        public java.util.Locale getLocale()
        Overrides:
        getLocale in class java.util.ResourceBundle
      • handleGetObject

        protected java.lang.Object handleGetObject​(java.lang.String key)
        Specified by:
        handleGetObject in class java.util.ResourceBundle
      • getKeys

        public java.util.Enumeration<java.lang.String> getKeys()
        Specified by:
        getKeys in class java.util.ResourceBundle