| org.apache.cocoon.i18n.BundleFactory
All known Subclasses: org.apache.cocoon.i18n.XMLResourceBundleFactory,
BundleFactory | public interface BundleFactory extends Component(Code) | | Bundle Factory implementations are responsible for loading and providing
particular types of resource bundles, implementors of Bundle interface.
author: Konstantin Piroumian author: Vadim Gritsenko version: $Id: BundleFactory.java 433543 2006-08-22 06:22:54Z crossley $ |
Inner Class :static class ConfigurationKeys | |
Method Summary | |
void | release(Bundle bundle) Releases a bundle back to the bundle factory when it's not needed
anymore. | Bundle | select(String base, String bundleName, String locale) Select a bundle based on the catalogue base location, bundle name,
and the locale name. | Bundle | select(String base, String bundleName, Locale locale) Select a bundle based on the catalogue base location, bundle name,
and the locale. | Bundle | select(String[] directories, String bundleName, Locale locale) Select a bundle based on the catalogue base location, bundle name,
and the locale. | Bundle | select(String bundleName, String locale) Select a bundle based on the bundle name and the locale name from
the default catalogue. | Bundle | select(String bundleName, Locale locale) Select a bundle based on the bundle name and the locale from
the default catalogue. |
release | void release(Bundle bundle)(Code) | | Releases a bundle back to the bundle factory when it's not needed
anymore.
Parameters: bundle - the bundle |
select | Bundle select(String base, String bundleName, String locale) throws ComponentException(Code) | | Select a bundle based on the catalogue base location, bundle name,
and the locale name.
Parameters: base - catalogue base location (URI) Parameters: bundleName - bundle name Parameters: locale - locale name the bundle exception: ComponentException - if a bundle is not found |
select | Bundle select(String base, String bundleName, Locale locale) throws ComponentException(Code) | | Select a bundle based on the catalogue base location, bundle name,
and the locale.
Parameters: base - catalogue base location (URI) Parameters: bundleName - bundle name Parameters: locale - locale the bundle exception: ComponentException - if a bundle is not found |
select | Bundle select(String[] directories, String bundleName, Locale locale) throws ComponentException(Code) | | Select a bundle based on the catalogue base location, bundle name,
and the locale.
Parameters: directories - catalogue base location (URI) Parameters: bundleName - bundle name Parameters: locale - locale the bundle exception: ComponentException - if a bundle is not found |
select | Bundle select(String bundleName, String locale) throws ComponentException(Code) | | Select a bundle based on the bundle name and the locale name from
the default catalogue.
Parameters: bundleName - bundle name Parameters: locale - locale name the bundle exception: ComponentException - if a bundle is not found |
select | Bundle select(String bundleName, Locale locale) throws ComponentException(Code) | | Select a bundle based on the bundle name and the locale from
the default catalogue.
Parameters: bundleName - bundle name Parameters: locale - locale the bundle exception: ComponentException - if a bundle is not found |
|
|