|
||||||||||
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.ClasspathResourceLoader
Implementation of ResourceLoader
that retrieve resource from the
classpath
Constructor Summary | |
ClasspathResourceLoader(java.lang.Class type)
|
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 ClasspathResourceLoader(java.lang.Class type)
AbstractResourceLoader.getResourceAsStream(java.lang.String)
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
AbstractResourceLoader.getResourceAsStream(java.lang.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 |