org.openarchitectureware.workflow.util
Class ResourceLoaderDefaultImpl
java.lang.Object
org.openarchitectureware.workflow.util.ResourceLoaderDefaultImpl
- All Implemented Interfaces:
- ResourceLoader
- Direct Known Subclasses:
- ResourceLoaderImpl
public class ResourceLoaderDefaultImpl
- extends java.lang.Object
- implements ResourceLoader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceLoaderDefaultImpl
public ResourceLoaderDefaultImpl()
getResourceAsStream
public final java.io.InputStream getResourceAsStream(java.lang.String path)
- Specified by:
getResourceAsStream
in interface ResourceLoader
- Parameters:
path
- Identifier for a resource
- Returns:
- InputStream for the specified resource.
internalGetResourceAsStream
protected java.io.InputStream internalGetResourceAsStream(java.lang.String path)
loadClass
public final java.lang.Class<?> loadClass(java.lang.String clazzName)
- Specified by:
loadClass
in interface ResourceLoader
- Parameters:
clazzName
- The class name
- Returns:
- The class instance or null if no such class could be found
internalLoadClass
protected java.lang.Class<?> internalLoadClass(java.lang.String clazzName)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getResource
public final java.net.URL getResource(java.lang.String path)
- Specified by:
getResource
in interface ResourceLoader
internalGetResource
protected java.net.URL internalGetResource(java.lang.String path)