Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.utils.locale
Class ResourceBundles

    java.lang.Object
      oracle.ifs.utils.locale.ResourceBundles

    public class ResourceBundles

extends java.lang.Object

This class provides a set of utilities methods used to retrieve translated strings from a given resource bundle.

Method Summary
`static java.lang.String` | `localize(ResourceKey key, java.util.Locale locale)` Returns a translated string corresponding to the key and the locale.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### localize

    public static java.lang.String localize(ResourceKey key,
                                            java.util.Locale locale)

  Description copied from class: `ResourceBundles`
  Returns a translated string corresponding to the key and the locale. If the key cannot be found, then the key itself is returned. If the key contains arguments that in turn are ResourceKeys then they will be localized too.

  Parameters:
    `key` - The key to localize.
    `locale` - The locale for the resource bundle.
  Returns:
    The string corresponding to the key and locale or the key itself if the key cannot be found in the bundle.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD