|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.adminnav.ResourceBundleResolver
@Deprecated public class ResourceBundleResolver
Provides an implementation of ILabelResolver that resolves labels from ResourceBundles. A classpath located, base resource bundle property file name like "/properties/adminNav" is passed in to the constructor. Based on the user's locale, files with that name plus locale identifiers plus ".properties" will be looked for for resolving lable names. For example, if a call to getLabel passed a locale object for "de_DE" then the resource bundle searched for would be "/properties/adminNav_de_DE.properties" followed by "/properties/adminNav_de.properties" followed by "/properties/adminNav.properties".
| Constructor Summary | |
|---|---|
ResourceBundleResolver(String bundleBase)
Deprecated. |
|
| Method Summary | |
|---|---|
String |
getExternalForm()
Deprecated. Return the bundle base used for this resolver. |
String |
getLabel(String labelId,
Locale locale)
Deprecated. Returns the localized label for the given label identifier and locale or null if one is not found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceBundleResolver(String bundleBase)
| Method Detail |
|---|
public String getLabel(String labelId,
Locale locale)
ILabelResolver
getLabel in interface ILabelResolverpublic String getExternalForm()
getExternalForm in interface ILabelResolverILabelResolver.getExternalForm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||