|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.webconsole.i18n.LocalizationHelper
public class LocalizationHelper
The localization helper is supposed to be used from the bundle info providers. It will allow them to provide locale-specific names and descriptions of the bundle information entries.
Constructor Summary | |
---|---|
LocalizationHelper(org.osgi.framework.Bundle bundle)
Creates a new helper instance. |
Method Summary | |
---|---|
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale)
Used to retrieve the resource bundle for the specified locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalizationHelper(org.osgi.framework.Bundle bundle)
bundle
- the bundle that provides the localization resources. See the
standard OSGi-type localization support.Method Detail |
---|
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
locale
- the requested locale.
null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |