|
||||||||||
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.ServletContextResourceLoader
public class ServletContextResourceLoader
A resource loader implementation which loads resources using the servlet context.
Constructor Summary | |
---|---|
ServletContextResourceLoader(javax.servlet.ServletContext context)
Constructs a new ServletContextResourceLoader. |
|
ServletContextResourceLoader(javax.servlet.ServletContext context,
ResourceLoader parent)
Constructs a new ServletContextResourceLoader with specified parent resource loader. |
Method Summary | |
---|---|
protected java.net.URL |
findResource(java.lang.String path)
Finds the resource with the given name. |
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 ServletContextResourceLoader(javax.servlet.ServletContext context)
context
- the servlet contextpublic ServletContextResourceLoader(javax.servlet.ServletContext context, ResourceLoader parent)
context
- the servlet contextparent
- the parent resource loaderMethod Detail |
---|
protected java.net.URL findResource(java.lang.String path) throws java.io.IOException
ResourceLoader
findResource
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 |