public class ResourceStreamSourceForWebInf extends ResourceStreamSourceAbstract
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WEBINF_DIRECTORY |
| Constructor and Description |
|---|
ResourceStreamSourceForWebInf(javax.servlet.ServletContext servletContext) |
ResourceStreamSourceForWebInf(javax.servlet.ServletContext servletContext,
String configurationDirectory) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
doReadResource(String resourcePath)
Mandatory hook method; subclasses can return either null or
throw an exception if the resource could not be found.
|
String |
getName() |
readResource, toString, writeResourcepublic static final String DEFAULT_WEBINF_DIRECTORY
public ResourceStreamSourceForWebInf(javax.servlet.ServletContext servletContext)
public ResourceStreamSourceForWebInf(javax.servlet.ServletContext servletContext, String configurationDirectory)
public InputStream doReadResource(String resourcePath) throws IOException
ResourceStreamSourceAbstractdoReadResource in class ResourceStreamSourceAbstractIOExceptionCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.