Class ResourceBundleTools


  • final class ResourceBundleTools
    extends java.lang.Object
    Message bundle helper class used for translation of the user interface.
    Since:
    2.3
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ResourceBundleTools()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.ResourceBundle getMessageBundle()
      Gets the ResourceBundle (i18n strings) for the default language of the user's system.
      (package private) static java.util.ResourceBundle getMessageBundle​(Language lang)
      Gets the ResourceBundle (i18n strings) for the given user interface language.
      private static boolean isValidBundleFor​(Language lang, java.util.ResourceBundle bundle)  
      • Methods inherited from class java.lang.Object

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

      • ResourceBundleTools

        private ResourceBundleTools()
    • Method Detail

      • getMessageBundle

        public static java.util.ResourceBundle getMessageBundle()
        Gets the ResourceBundle (i18n strings) for the default language of the user's system.
      • getMessageBundle

        static java.util.ResourceBundle getMessageBundle​(Language lang)
        Gets the ResourceBundle (i18n strings) for the given user interface language.
      • isValidBundleFor

        private static boolean isValidBundleFor​(Language lang,
                                                java.util.ResourceBundle bundle)