Class LocalizedResourceBundle

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static ResourceBundle get()
      static ResourceBundle get(String resourceBundle)
      static String getString(String key) Looks up on the property files and returns the correct String.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • get

         static ResourceBundle get()
        Returns:

        a ResourceBundle using the current Locale (if available), falling back to US in case no localized bundle is available.

      • get

         static ResourceBundle get(String resourceBundle)
        Parameters:
        resourceBundle - the resource bundle to load (fully qualified name)
        Returns:

        a ResourceBundle using the current Locale (if available), falling back to US in case no localized bundle is available.

      • getString

         static String getString(String key)

        Looks up on the property files and returns the correct String.

        Parameters:
        key - the key
        Returns:

        the String