public interface ResourceResolver
Modifier and Type | Method and Description |
---|---|
URL |
resolve(String resourcePath)
Get the URL for a given resource path
|
URL |
resolveFailSafe(String resourcePath)
Same as resolve(String resourcePath) except it does not throw exception
when resource is not found, simply returns null.
|
URL resolve(String resourcePath) throws IOException
resourcePath
- resource pathIOException
- IO exceptionCopyright © 2018 JBoss, by Red Hat. All rights reserved.