LocalizedStringsHandler (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.util, class: LocalizedStringsHandler

# 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 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()