|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.i18n.ResourceManager
public final class ResourceManager
Manager for internatialized resources.
Method Summary | |
---|---|
static void |
clearResourceCache()
Clear the cache of all resources currently loaded into the system. |
static Resources |
getBaseResources(java.lang.String baseName)
Retrieve resource with specified base name. |
static Resources |
getBaseResources(java.lang.String baseName,
java.lang.ClassLoader classLoader)
Retrieve resource with specified base name. |
static Resources |
getClassResources(java.lang.Class clazz)
Retrieve resource for specified Class. |
static java.lang.String |
getClassResourcesBaseName(java.lang.Class clazz)
Retrieve resource base name for specified Class. |
static Resources |
getPackageResources(java.lang.Class clazz)
Retrieve resource for specified Classes package. |
static java.lang.String |
getPackageResourcesBaseName(java.lang.Class clazz)
Retrieve resource base name for specified Classes package. |
static Resources |
getResources(java.lang.String name)
Retrieve resource for specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Resources getBaseResources(java.lang.String baseName)
baseName
- the base name
public static Resources getBaseResources(java.lang.String baseName, java.lang.ClassLoader classLoader)
baseName
- the base nameclassLoader
- the classLoader to load resources from
public static void clearResourceCache() throws java.lang.SecurityException
Note that the caller must have been granted the
"i18n.clearCompleteCache" RuntimePermission
or
else a security exception will be thrown.
java.lang.SecurityException
- if the caller does not have
permission to clear cachepublic static Resources getResources(java.lang.String name)
name
- the name to use when looking up resources
public static Resources getPackageResources(java.lang.Class clazz)
clazz
- the Class
public static Resources getClassResources(java.lang.Class clazz)
clazz
- the Class
public static java.lang.String getPackageResourcesBaseName(java.lang.Class clazz)
clazz
- the Class
public static java.lang.String getClassResourcesBaseName(java.lang.Class clazz)
clazz
- the Class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |