public interface ResourceResolver
Modifier and Type | Method and Description |
---|---|
URL |
locateResource(String name)
Locate a resource by name (classpath lookup).
|
InputStream |
locateResourceStream(String name)
Locate a resource by name (classpath lookup) and get its stream.
|
URL locateResource(String name)
name
- The resource name.null
to indicate the resource was not foundInputStream locateResourceStream(String name)
name
- The resource name.null
to indicate the resource was not foundCopyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.