Class ResourceBundleCache
- java.lang.Object
-
- org.apache.felix.webconsole.internal.i18n.ResourceBundleCache
-
public class ResourceBundleCache extends Object
TheResourceBundleCache
caches resource bundles per OSGi bundle.
-
-
Constructor Summary
Constructors Constructor Description ResourceBundleCache(org.osgi.framework.Bundle bundle)
Creates a new object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceBundle
getResourceBundle(Locale locale)
Gets the resource bundle for the specified locale.
-
-
-
Method Detail
-
getResourceBundle
public ResourceBundle getResourceBundle(Locale locale)
Gets the resource bundle for the specified locale.- Parameters:
locale
- the requested locale- Returns:
- the resource bundle for the requested locale
-
-