public class BundleLocalizationImpl extends Object implements BundleLocalization
Internal class.
| Constructor and Description |
|---|
BundleLocalizationImpl() |
| Modifier and Type | Method and Description |
|---|---|
ResourceBundle |
getLocalization(Bundle bundle,
String locale)
The getLocalization method gets a ResourceBundle object for the given
locale and bundle.
|
public ResourceBundle getLocalization(Bundle bundle, String locale)
getLocalization in interface BundleLocalizationbundle - the bundle to get localization forlocale - the name of the locale to get, or null if
the default locale is to be usedResourceBundle object for the given bundle and locale.
If null is passed for the locale parameter, the default locale is used.Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.