com.comtrade.ecm.engine.i18n

## Class TextRepository

- java.lang.Object
- - com.comtrade.ecm.engine.i18n.TextRepository

-     public class TextRepository
      extends java.lang.Object

  Repository of default localization properties. Every TextManager should use this repository if it does not manage to resolve localization key in some other way.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `get(java.lang.String key)` Returns default localization value for a given `key`.
    `static void` | `set(java.lang.String key, java.lang.String value)` Creates/updates a default localization property.

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

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

- - ### Method Detail

    - #### set

          public static void set(java.lang.String key,
                                 java.lang.String value)

      Creates/updates a default localization property.
      Parameters:
        `key` - Key of a localization property
        `value` - Value of a localization property

    - #### get

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

      Returns default localization value for a given `key`.
      Parameters:
        `key` - Key of a localization property
      Returns:
        Default localization value for a given `key`