Interface BundleLocalization
-
public interface BundleLocalizationThe interface of the service that getsResourceBundleobjects from a given bundle with a given locale.This interface is not intended to be implemented by clients.
- Since:
- 3.1
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceBundlegetLocalization(Bundle bundle, String locale)Returns aResourceBundleobject for the given bundle and locale.
-
-
-
Method Detail
-
getLocalization
ResourceBundle getLocalization(Bundle bundle, String locale)
Returns aResourceBundleobject for the given bundle and locale.- Parameters:
bundle- the bundle to get localization forlocale- the name of the locale to get, ornullif the default locale is to be used- Returns:
- A
ResourceBundleobject for the given bundle and locale, ornullis returned if no ResourceBundle object can be loaded.
-
-