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

## org.modeshape.common.i18n
Interface LocalizationRepository

All Known Implementing Classes:
  ClasspathLocalizationRepository

    public interface LocalizationRepository

A repository of localized property files used by the `internationalization framework`.

Method Summary
`URL` | `getLocalizationBundle(String bundleName, Locale locale)` Obtain the URL to the properties file containing the localized messages given the supplied bundle name.

Method Detail

### getLocalizationBundle

    URL getLocalizationBundle(String bundleName,
                              Locale locale)

  Obtain the URL to the properties file containing the localized messages given the supplied bundle name. This method is responsible for searching to find the most appropriate localized messages given the locale, but does not need to search using the `default locale` (as that is done by the `calling` method.

  Parameters:
    `bundleName` - the name of the bundle of properties; never null
    `locale` - the locale for which the properties file URL is desired
  Returns:
    the URL to the properties file containing the localized messages for the named bundle, or null if no such bundle could be found

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

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.