org.eclipse.core.runtime.internal.adaptor
Class BundleLocalizationImpl
java.lang.Object
org.eclipse.core.runtime.internal.adaptor.BundleLocalizationImpl
- All Implemented Interfaces:
- BundleLocalization
public class BundleLocalizationImpl
- extends Object
- implements BundleLocalization
The implementation of the service that gets ResourceBundle objects from a given
bundle with a given locale.
Internal class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleLocalizationImpl
public BundleLocalizationImpl()
getLocalization
public ResourceBundle getLocalization(Bundle bundle,
String locale)
- The getLocalization method gets a ResourceBundle object for the given
locale and bundle.
- Specified by:
getLocalization in interface BundleLocalization
- Parameters:
bundle - the bundle to get localization forlocale - the name of the locale to get, or null if
the default locale is to be used
- Returns:
- A
ResourceBundle object for the given bundle and locale.
If null is passed for the locale parameter, the default locale is used.
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.