public abstract class StringContentResourceLoader extends DynamicResourceLoader
Constructor and Description |
---|
StringContentResourceLoader(String path) |
StringContentResourceLoader(String path,
ResourceLoader parent) |
Modifier and Type | Method and Description |
---|---|
protected String |
getContentType(String path) |
protected abstract String |
getString(String path) |
protected URL |
getURL(String path)
Returns a URL to this resource.
|
findResource
getContentType, getContentType, getNullResourceLoader, getParent, getResource, isCachable, toString
public StringContentResourceLoader(String path)
public StringContentResourceLoader(String path, ResourceLoader parent)
protected abstract String getString(String path) throws IOException
IOException
protected URL getURL(String path) throws IOException
DynamicResourceLoader
getURL
in class DynamicResourceLoader
path
- the path of the findResourceCallIOException
- when something bad happensCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.