public interface BundleLocalization
ResourceBundle
objects from a given
bundle with a given locale.
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
ResourceBundle |
getLocalization(Bundle bundle,
String locale)
Returns a
ResourceBundle object for the given bundle and locale. |
ResourceBundle getLocalization(Bundle bundle, String locale)
ResourceBundle
object for the given bundle and locale.bundle
- 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,
or null
is returned if no ResourceBundle object can
be loaded.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.