|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.resource.ResourceLoader
org.apache.myfaces.trinidad.resource.DynamicResourceLoader
public abstract class DynamicResourceLoader
A Dynamic Resource Loader that is capable of agregation and dynamic content via custom URLConnection objects.
Constructor Summary | |
---|---|
DynamicResourceLoader(String path)
Creates a DynamicResourceLoader for a specified path. |
|
DynamicResourceLoader(String path,
ResourceLoader parent)
Creates a CompositeResouceLoader for a specified path. |
Method Summary | |
---|---|
protected URL |
findResource(String path)
Finds a resource. |
protected abstract URL |
getURL(String path)
Returns a URL to this resource. |
Methods inherited from class org.apache.myfaces.trinidad.resource.ResourceLoader |
---|
getContentType, getContentType, getNullResourceLoader, getParent, getResource, isCachable, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicResourceLoader(String path)
null
path
- the path that this ResourceLoader will respond topublic DynamicResourceLoader(String path, ResourceLoader parent)
path
- the path that this ResourceLoader will respond toparent
- the parent resource loaderMethod Detail |
---|
protected URL findResource(String path) throws IOException
findResource
in class ResourceLoader
path
- the path which the ResourceLoader is looking for.
IOException
- when something bad happensprotected abstract URL getURL(String path) throws IOException
path
- the path of the findResourceCall
IOException
- when something bad happens
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |