|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Bundle Factory implementations are responsible for loading and providing particular types of resource bundles, implementors of Bundle interface.
| Nested Class Summary | |
static class |
BundleFactory.ConfigurationKeys
Constants for bundle factory configuration keys |
| Field Summary | |
static String |
ROLE
Bundle factory ROLE name |
| Method Summary | |
void |
release(Bundle bundle)
Releases a bundle back to the bundle factory when it's not needed anymore. |
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,
Locale locale)
Select a bundle based on the bundle name and the locale from the default catalogue. |
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 base,
String bundleName,
Locale locale)
Select a bundle based on the catalogue base location, bundle name, and the locale. |
Bundle |
select(String base,
String bundleName,
String locale)
Select a bundle based on the catalogue base location, bundle name, and the locale name. |
| Field Detail |
public static final String ROLE
| Method Detail |
public Bundle select(String base,
String bundleName,
String locale)
throws Exception
base - catalogue base location (URI)bundleName - bundle namelocale - locale name
Exception - if a bundle is not found
public Bundle select(String base,
String bundleName,
Locale locale)
throws Exception
base - catalogue base location (URI)bundleName - bundle namelocale - locale
Exception - if a bundle is not found
public Bundle select(String[] directories,
String bundleName,
Locale locale)
throws Exception
directories - catalogue base location (URI)bundleName - bundle namelocale - locale
Exception - if a bundle is not found
public Bundle select(String bundleName,
String locale)
throws Exception
bundleName - bundle namelocale - locale name
Exception - if a bundle is not found
public Bundle select(String bundleName,
Locale locale)
throws Exception
bundleName - bundle namelocale - locale
Exception - if a bundle is not foundpublic void release(Bundle bundle)
bundle - the bundle
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||