public interface ResourceLocator
Modifier and Type | Method and Description |
---|---|
URL |
getResource(String name)
Retrieves the URL given a resource name
|
InputStream |
openResourceStream(String name)
Opens and input stream for the resources identified by the parameter name.
|
InputStream openResourceStream(String name) throws IOException
name
- the resource identificationIOException
- on i/o errorCopyright © 2009–2023 Oracle Corporation. All rights reserved.