public interface ResourceResolver
Modifier and Type | Method and Description |
---|---|
InputStream |
getAsStream(String name)
Resolve a resource given its name and return an InputStream to it.
|
<T> T |
resolve(String resourceName,
Class<T> resourceType)
Resolve a resource given its name and type.
|
<T> T resolve(String resourceName, Class<T> resourceType)
resourceName
- name of the resource to resolve.resourceType
- type of the resource to resolve.null
if the
resource cannot be resolved.InputStream getAsStream(String name)
name
- name of the resource to resolve.Copyright © 2016 JBoss by Red Hat. All rights reserved.