|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.jportlet.util.AbstractResourceLoader | +--net.sf.jportlet.util.WebResourceLoader
Implementation of ResourceLoader
that retrieve resource from the
web context
Constructor Summary | |
WebResourceLoader(java.lang.String basepath,
javax.servlet.ServletContext servletContext)
|
Method Summary | |
java.lang.String |
getBasepath()
|
java.io.InputStream |
getInputStream(java.lang.String path)
|
java.net.URL |
getURL(java.lang.String path)
|
Methods inherited from class net.sf.jportlet.util.AbstractResourceLoader |
buildPath, getResource, getResourceAsStream, getResourceAsStream, getResourceAsStream, getResourcePath, getResourcePath, getResourcePath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebResourceLoader(java.lang.String basepath, javax.servlet.ServletContext servletContext)
Method Detail |
public java.lang.String getBasepath()
getBasepath
in class AbstractResourceLoader
AbstractResourceLoader.getBasepath()
public java.io.InputStream getInputStream(java.lang.String path)
getInputStream
in class AbstractResourceLoader
ResourceLoader.getResourceAsStream(String)
public java.net.URL getURL(java.lang.String path)
getURL
in class AbstractResourceLoader
AbstractResourceLoader.getURL(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |