Package org.apache.cayenne.util

# Class LocalizedStringsHandler

java.lang.Object
org.apache.cayenne.util.LocalizedStringsHandler

public class LocalizedStringsHandler extends Object
Provides access to various modeler resources (mainly strings) obtained via a ResourceBundle.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected static ResourceBundle`
  `bundle`
  `static final String`
  `DEFAULT_MESSAGE_BUNDLE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LocalizedStringsHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected static ResourceBundle`
  `getBundle()`
  `static String`
  `getString(String key)`
  Returns localized string for the given key.

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

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

- ## Field Details

  - ### DEFAULT_MESSAGE_BUNDLE

    public static final String DEFAULT_MESSAGE_BUNDLE
    See Also:
      - Constant Field Values

  - ### bundle

    protected static ResourceBundle bundle

- ## Constructor Details

  - ### LocalizedStringsHandler

    public LocalizedStringsHandler()

- ## Method Details

  - ### getString

    public static String getString(String key)
    Returns localized string for the given key.

  - ### getBundle

    protected static ResourceBundle getBundle()