Package org.eclipse.osgi.storage
Class BundleLocalizationImpl
java.lang.Object
org.eclipse.osgi.storage.BundleLocalizationImpl
- All Implemented Interfaces:
- BundleLocalization
The implementation of the service that gets ResourceBundle objects from a
 given bundle with a given locale.
 
Internal class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetLocalization(Bundle bundle, String locale) The getLocalization method gets a ResourceBundle object for the given locale and bundle.
- 
Constructor Details- 
BundleLocalizationImplpublic BundleLocalizationImpl()
 
- 
- 
Method Details- 
getLocalizationThe getLocalization method gets a ResourceBundle object for the given locale and bundle.- Specified by:
- getLocalizationin interface- BundleLocalization
- Parameters:
- bundle- the bundle to get localization for
- locale- the name of the locale to get, or- nullif the default locale is to be used
- Returns:
- A ResourceBundleobject for the given bundle and locale. If null is passed for the locale parameter, the default locale is used.
 
 
-