public class ResourceDirectory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
initializeInstDirectory()
Loads all resources defined by the resources.xml files.
|
static void |
loadInstDirectory(java.util.Vector model_files)
Populates the instantiator directory from the given XML based configuration file.
|
static java.lang.Object |
lookup(java.lang.String key)
Gets the resource from the cache.
|
static java.lang.Object |
lookup(java.lang.String key,
java.util.Locale locale)
Gets the resource from the cache.
|
static java.lang.Object |
lookup(java.lang.String name_space,
java.lang.String inst_name)
Gets the resource from the cache.
|
static java.lang.Object |
lookup(java.lang.String name_space,
java.lang.String inst_name,
java.util.Locale locale)
Gets the resource from the cache.
|
public static final void initializeInstDirectory()
throws ECSystemException
ECSystemException - If an error occurs, an exception is thrown.public static final void loadInstDirectory(java.util.Vector model_files)
throws ECSystemException
model_files - the XML configuration fileECSystemException - If an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String key)
throws ECSystemException
key - the name of resource in form <namespace>.<resource name>ECSystemException - If an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String name_space,
java.lang.String inst_name)
throws ECSystemException
name_space - the locale of resourceinst_name - the name of resourceECSystemException - If an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String name_space,
java.lang.String inst_name,
java.util.Locale locale)
throws ECSystemException
name_space - the locale of resourceinst_name - the name of resourcelocale - the version of resource to retrieveECSystemException - If an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String key,
java.util.Locale locale)
throws ECSystemException
key - the name of resource in form <namespace>.<resource name>locale - the version of resource to retrieveECSystemException - If an error occurs, an exception is thrown.