public final class WebApplicationPath extends Object implements IResourceFinder
IResourceFinder that looks in a folder in the webapp context path. It will
not load files inside WEB-INF.| Constructor and Description |
|---|
WebApplicationPath(javax.servlet.ServletContext servletContext,
String path)
Constructor
|
public WebApplicationPath(javax.servlet.ServletContext servletContext,
String path)
servletContext - The webapplication context where the resources must be loaded frompath - The path inside the app context where to look.public IResourceStream find(Class<?> clazz, String pathname)
find in interface IResourceFinderIResourceFinder.find(Class, String)public String toString()
toString in class ObjectObject.toString()Copyright © 2006–2014 Apache Software Foundation. All rights reserved.