@SPI(status=Stable,
useRestriction=Public)
public interface IResourceBundleProvider
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IResourceBundleProvider.Factory
Factory for
IResourceBundleProvider. |
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleId() |
ResourceBundle |
getResourceBundle(String bundleName,
Locale locale)
Provides localized resources.
|
ResourceBundle getResourceBundle(String bundleName, Locale locale)
The main use is to provide localized labels for a UI.
bundleName - The name of the bundle to retrieve.locale - The locale to request the resources for.String getModuleId()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.