Interface ResourceLoader
- All Known Implementing Classes:
Resource
public interface ResourceLoader
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddModuleBaseURL(String ns, String newBaseURL) voidaddModuleBaseURL(String ns, URL newBaseURL) findTextResource(String resName) getAllTextResources(String resName) Class<?> getClassForName(String name) getClassLoader(String className) getKernelResourceURL(String resName) getModuleResourceURL(String ns, String resName) getTextResource(String ns, String resName)
-
Method Details
-
getKernelBaseURL
URL getKernelBaseURL() -
getKernelResourceURL
- Throws:
MalformedURLException
-
addModuleBaseURL
-
addModuleBaseURL
- Throws:
InvalidDataException
-
getModuleBaseURLs
-
getModuleResourceURL
- Throws:
MalformedURLException
-
findTextResource
-
getAllTextResources
-
getTextResource
- Throws:
ObjectNotFoundException
-
getClassForName
- Throws:
ClassNotFoundException
-
getClassLoader
-
getModuleDefURLs
- Throws:
Exception
-