com.orsoncharts

## Class Resources

- java.lang.Object
- - com.orsoncharts.Resources

-     public class Resources
      extends java.lang.Object

  Provides centralised access to localised resources.
  Since:
    1.2

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Resources()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Locale` | `getLocale()` Returns the locale that is being used for supplying resources.
    `static java.lang.String` | `localString(java.lang.String key)` Returns a localised string.
    `static void` | `setLocale(java.util.Locale l)` Sets the locale to use for supplying resources.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Resources

          public Resources()

  - ### Method Detail

    - #### getLocale

          public static java.util.Locale getLocale()

      Returns the locale that is being used for supplying resources. The default value is `Locale.getDefault()`.
      Returns:
        The locale (never `null`).

    - #### setLocale

          public static void setLocale(java.util.Locale l)

      Sets the locale to use for supplying resources.
      Parameters:
        `l` - the locale (`null` not permitted).

    - #### localString

          public static java.lang.String localString(java.lang.String key)

      Returns a localised string.
      Parameters:
        `key` - the key (`null` not permitted).
      Returns:
        A localised string.