Class LocalizedMessages

  • public class LocalizedMessages
    extends java.util.ResourceBundle
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.ResourceBundle

    • Field Summary

      • Fields inherited from class java.util.ResourceBundle

    • Constructor Summary

      Constructor Description
      LocalizedMessages​(java.util.Locale locale, java.lang.String... basenames)
      Constructs a resource bundle from a list of other resource bundles.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.lang.String key, java.lang.Object... args)  
      java.lang.String formatQuietly​(java.lang.String key, java.lang.Object... args)  
      java.util.Enumeration<java.lang.String> getKeys()  
      java.util.Locale getLocale()  
      protected java.lang.Object handleGetObject​(java.lang.String key)  
      • Methods inherited from class java.util.ResourceBundle

        clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParent
      • Methods inherited from class java.lang.Object

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

      • LocalizedMessages

        public LocalizedMessages​(java.util.Locale locale,
                                 java.lang.String... basenames)
        Constructs a resource bundle from a list of other resource bundles. If there are duplicate keys, the key from the resource bundle with the smallest index takes precedence.
    • Method Detail

      • getLocale

        public java.util.Locale getLocale()
        getLocale in class java.util.ResourceBundle
      • format

        public java.lang.String format​(java.lang.String key,
                                       java.lang.Object... args)
      • formatQuietly

        public java.lang.String formatQuietly​(java.lang.String key,
                                              java.lang.Object... args)
      • getKeys

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

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