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)
ResourceBundleLoader
Locale
. 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 ResourceBundleLoader
locale
- the locale.Locale
. The type of search
remains unchanged.public final ResourceBundleLoader helpText()
ResourceBundleLoader
HelpUrls
.
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 ResourceBundleLoader
HelpUrls
. The Locale
used by
the search remains unchanged.public final ResourceBundleLoader i18n()
ResourceBundleLoader
I18nHelper
.
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 ResourceBundleLoader
I18nHelper
. The Locale
used by
the search remains unchanged.public final ResourceBundleLoader.LoadResult load()
ResourceBundleLoader
load
in interface ResourceBundleLoader
Copyright © 2002-2015 Atlassian. All Rights Reserved.