org.eclipse.stardust.engine.core.spi.resources
Interface IResourceBundleProvider


@SPI(status=Stable,
     useRestriction=Public)
public interface IResourceBundleProvider

Author:
Roland.Stamm

Nested Class Summary
static interface IResourceBundleProvider.Factory
          Factory for IResourceBundleProvider.
 
Method Summary
 String getModuleId()
           
 ResourceBundle getResourceBundle(String bundleName, Locale locale)
          Provides localized resources.
 

Method Detail

getResourceBundle

ResourceBundle getResourceBundle(String bundleName,
                                 Locale locale)
Provides localized resources.

The main use is to provide localized labels for a UI.

Parameters:
bundleName - The name of the bundle to retrieve.
locale - The locale to request the resources for.
Returns:
The ResourceBundle contains all resources for the selected locale.

getModuleId

String getModuleId()
Returns:
An id that identifies the resource bundle provider.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.