public class SimpleResourceResolver extends java.lang.Object implements ResourceResolver
Constructor and Description |
---|
SimpleResourceResolver(java.lang.Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
resolve(java.lang.String resourceName)
Resolve the resource name and return an open input stream to it.
|
public java.io.InputStream resolve(java.lang.String resourceName) throws java.io.IOException
ResourceResolver
resolve
in interface ResourceResolver
resourceName
- resource to resolvejava.io.IOException
- if an I/O error occured resolving the resource