public class InitialResourceBundleLoader extends Object
ResourceBundleLoader.LoadResult| Constructor and Description |
|---|
InitialResourceBundleLoader(ComponentLocator locator,
ApplicationProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
ResourceBundleLoader |
helpText()
Returns a loader that will search for resources associated with
HelpUrls. |
ResourceBundleLoader |
i18n()
Returns a loader that will search for resources associated with a
I18nHelper. |
ResourceBundleLoader.LoadResult |
load()
Perform a search and load all the configured resources.
|
ResourceBundleLoader |
locale(Locale locale)
Returns a loader that will search for resources associated with the passed
Locale. |
public InitialResourceBundleLoader(ComponentLocator locator, ApplicationProperties properties)
public final ResourceBundleLoader locale(Locale locale)
ResourceBundleLoaderLocale. This method will not
mutate this and as such the caller must use the returned loader to search against the passed Locale.locale in interface ResourceBundleLoaderlocale - the locale.Locale. The type of search
remains unchanged.public final ResourceBundleLoader helpText()
ResourceBundleLoaderHelpUrls.
The Locale used by the search remains unchanged. This method will not mutate this and as such
the caller must use the returned loader to find the right type of resources.helpText in interface ResourceBundleLoaderHelpUrls. The Locale used by
the search remains unchanged.public final ResourceBundleLoader i18n()
ResourceBundleLoaderI18nHelper.
The Locale used by the search remains unchanged. This method will not mutate this and as such
the caller must use the returned loader to find the right type of resources.i18n in interface ResourceBundleLoaderI18nHelper. The Locale used by
the search remains unchanged.public final ResourceBundleLoader.LoadResult load()
ResourceBundleLoaderload in interface ResourceBundleLoaderCopyright © 2002-2015 Atlassian. All Rights Reserved.