Package org.apache.struts2.text
Interface ResourceBundleTextProvider
- All Superinterfaces:
- TextProvider
- All Known Implementing Classes:
- TextProviderSupport
Extension Interface for TextProvider to help supporting ResourceBundles.
- Author:
- Rene Gielen
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetBundle(ResourceBundle bundle) Set the resource bundle to use.voidSet the class to use for reading the resource bundle.voidsetLocaleProvider(LocaleProvider localeProvider) Set the LocaleProvider to use.
- 
Method Details- 
setBundleSet the resource bundle to use.- Parameters:
- bundle- the bundle to use.
 
- 
setClazzSet the class to use for reading the resource bundle.- Parameters:
- clazz- the class to use for loading.
 
- 
setLocaleProviderSet the LocaleProvider to use.- Parameters:
- localeProvider- the LocaleProvider to use.
 
 
-