public class ResourceBundleCache extends Object
ResourceBundleCache caches resource bundles per OSGi bundle.| Constructor and Description |
|---|
ResourceBundleCache(org.osgi.framework.Bundle bundle)
Creates a new object
|
| Modifier and Type | Method and Description |
|---|---|
ResourceBundle |
getResourceBundle(Locale locale)
Gets the resource bundle for the specified locale.
|
public ResourceBundleCache(org.osgi.framework.Bundle bundle)
bundle - the bundle which resources should be loaded.public ResourceBundle getResourceBundle(Locale locale)
locale - the requested localeCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.