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 and Description
    --- | ---
    `protected static ResourceBundle` | `bundle`
    `static String` | `DEFAULT_MESSAGE_BUNDLE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocalizedStringsHandler()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### DEFAULT_MESSAGE_BUNDLE

          public static final String DEFAULT_MESSAGE_BUNDLE

      See Also:
        Constant Field Values

    - #### bundle

          protected static ResourceBundle bundle

  - ### Constructor Detail

    - #### LocalizedStringsHandler

          public LocalizedStringsHandler()

  - ### Method Detail

    - #### getString

          public static String getString(String key)

      Returns localized string for the given key.

    - #### getBundle

          protected static ResourceBundle getBundle()

Copyright © 2001–2017 Apache Cayenne. All rights reserved.