public class LocalizationHelper extends Object
| Constructor and Description |
|---|
LocalizationHelper(org.osgi.framework.Bundle bundle)
Creates a new helper instance.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceBundle |
getResourceBundle(Locale locale)
Used to retrieve the resource bundle for the specified locale.
|
public LocalizationHelper(org.osgi.framework.Bundle bundle)
bundle - the bundle that provides the localization resources. See the
standard OSGi-type localization support.public ResourceBundle getResourceBundle(Locale locale)
locale - the requested locale.null)Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.