|
||||||||||
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(java.lang.String path)
Creates a DynamicResourceLoader for a specified path. |
|
DynamicResourceLoader(java.lang.String path,
ResourceLoader parent)
Creates a CompositeResouceLoader for a specified path. |
Method Summary | |
---|---|
protected java.net.URL |
findResource(java.lang.String path)
Finds a resource. |
protected abstract java.net.URL |
getURL(java.lang.String path)
Returns a URL to this resource. |
Methods inherited from class org.apache.myfaces.trinidad.resource.ResourceLoader |
---|
getContentType, getNullResourceLoader, getParent, getResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicResourceLoader(java.lang.String path)
null
path
- the path that this ResourceLoader will respond topublic DynamicResourceLoader(java.lang.String path, ResourceLoader parent)
path
- the path that this ResourceLoader will respond toparent
- the parent resource loaderMethod Detail |
---|
protected java.net.URL findResource(java.lang.String path) throws java.io.IOException
findResource
in class ResourceLoader
path
- the path which the ResourceLoader is looking for.
java.io.IOException
- when something bad happensprotected abstract java.net.URL getURL(java.lang.String path) throws java.io.IOException
path
- the path of the findResourceCall
java.io.IOException
- when something bad happens
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |