|
||||||||||
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.ProxyResourceLoader
public class ProxyResourceLoader
A resource loader implementation that proxies another resource loader, controlling the URLConnection.
Nested Class Summary | |
---|---|
protected class |
ProxyResourceLoader.ProxyURLConnection
Helper class used to manage aggregated URL input stream. |
Constructor Summary | |
---|---|
ProxyResourceLoader(ResourceLoader parent)
Constructs a new ProxyResourceLoader with specified parent. |
Method Summary | |
---|---|
java.net.URL |
getResource(java.lang.String path)
Finds the resource with the given name. |
Methods inherited from class org.apache.myfaces.trinidad.resource.ResourceLoader |
---|
findResource, getContentType, getNullResourceLoader, getParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyResourceLoader(ResourceLoader parent)
parent
- the parent resource loaderMethod Detail |
---|
public java.net.URL getResource(java.lang.String path) throws java.io.IOException
ResourceLoader
The name of a resource is a '/'-separated path name that identifies the resource.
This method will first search the this resource loader for the
resource. That failing, this method will invoke
ResourceLoader.findResource(String)
to on the parent resource loader to
find the resource.
getResource
in class ResourceLoader
path
- the resource name
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |