com.atlassian.jira.util.resourcebundle
Class InitialResourceBundleLoader
java.lang.Object
com.atlassian.jira.util.resourcebundle.InitialResourceBundleLoader
- All Implemented Interfaces:
- ResourceBundleLoader
public class InitialResourceBundleLoader
- extends Object
- Since:
- v6.2.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitialResourceBundleLoader
public InitialResourceBundleLoader(ComponentLocator locator,
ApplicationProperties properties)
locale
public final ResourceBundleLoader locale(Locale locale)
- Description copied from interface:
ResourceBundleLoader
- Returns a loader that will search for resources associated with the passed
Locale
. This method will not
mutate this
and as such the caller must use the returned loader to search against the passed Locale
.
- Specified by:
locale
in interface ResourceBundleLoader
- Parameters:
locale
- the locale.
- Returns:
- a loader that will search for resources associated with the passed
Locale
. The type of search
remains unchanged.
helpText
public final ResourceBundleLoader helpText()
- Description copied from interface:
ResourceBundleLoader
- Returns a loader that will search for resources associated with
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.
- Specified by:
helpText
in interface ResourceBundleLoader
- Returns:
- a loader that will search for resources associated with
HelpUrls
. The Locale
used by
the search remains unchanged.
i18n
public final ResourceBundleLoader i18n()
- Description copied from interface:
ResourceBundleLoader
- Returns a loader that will search for resources associated with a
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.
- Specified by:
i18n
in interface ResourceBundleLoader
- Returns:
- a loader that will search for resources associated with a
I18nHelper
. The Locale
used by
the search remains unchanged.
load
public final ResourceBundleLoader.LoadResult load()
- Description copied from interface:
ResourceBundleLoader
- Perform a search and load all the configured resources.
- Specified by:
load
in interface ResourceBundleLoader
- Returns:
- the loaded resources with the plugins that provided them.
Copyright © 2002-2014 Atlassian. All Rights Reserved.