public interface IResourceLoaderHelper
Modifier and Type | Method and Description |
---|---|
void |
loadResources(java.lang.String a_strResourceSearchPath,
java.io.File a_Directory,
IResourceInstantiator a_instantiator,
boolean a_bRecursive,
boolean a_bStopAtFirstResource,
java.util.Hashtable a_loadedResources)
Loads resources from a given directory (simple file, directory or zip file) that are found
in the given resource search path and instantiates them as objects of a type defined by the
resource instantiator.
|
void loadResources(java.lang.String a_strResourceSearchPath, java.io.File a_Directory, IResourceInstantiator a_instantiator, boolean a_bRecursive, boolean a_bStopAtFirstResource, java.util.Hashtable a_loadedResources)
a_strResourceSearchPath
- a (virtual) path in the directory to load resources froma_Directory
- a simple file, directory or zip file, might be null - in this case some "default" path/file/URL is assumeda_instantiator
- a ResourceInstantiator that is used to instantiate the loaded resourcesa_bRecursive
- true if (virtual) subdirectories should be searched for resources;
false otherwise (has an effect only for resource paths ending with "/")a_bStopAtFirstResource
- true if the search should stop with the first loaded resource;
false otherwisea_loadedResources
- a Hashtable where the loaded and instantiated resources are storedCopyright © 2023. All rights reserved.