|
||||||||||
| 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.CachingResourceLoader
public class CachingResourceLoader
Base class for resource loaders. Resource loaders can lookup resources as URLs from arbitrary locations, including JAR files.
| Constructor Summary | |
|---|---|
CachingResourceLoader(ResourceLoader parent)
Constructs a new CachingResourceLoader. |
|
| Method Summary | |
|---|---|
protected java.net.URL |
findResource(java.lang.String path)
Returns the cached resource url if previously requested. |
| 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 CachingResourceLoader(ResourceLoader parent)
parent - the parent resource loader| Method Detail |
|---|
protected java.net.URL findResource(java.lang.String path)
throws java.io.IOException
findResource in class ResourceLoaderpath - the resource path
java.io.IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||