Class Resources

java.lang.Object
org.bedework.calfacade.locale.Resources
All Implemented Interfaces:
Serializable, org.bedework.util.logging.Logged

public class Resources extends Object implements org.bedework.util.logging.Logged, Serializable
Object to provide internationalized resources for the calendar suite.
Author:
Mike Douglass douglm bedework.edu
See Also:
  • Field Details

  • Constructor Details

    • Resources

      public Resources()
      Constructor
    • Resources

      public Resources(Locale loc)
      Parameters:
      loc -
  • Method Details

    • getSpportedLocales

      public static Collection<Locale> getSpportedLocales()
      We support a resource bundle which defines string values for a number of locales. This method carries out a one-time grope around the bundle to determine what locales we support.
      Returns:
      Collection
    • getString

      public String getString(String key)
      Parameters:
      key -
      Returns:
      value for key
    • getLogger

      public org.bedework.util.logging.BwLogger getLogger()
      Specified by:
      getLogger in interface org.bedework.util.logging.Logged