public interface ResourceLocator
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getResource(java.lang.String name)
Retrieves the URL given a resource name
|
java.io.InputStream |
openResourceStream(java.lang.String name)
Opens and input stream for the resources identified by the parameter name.
|
java.io.InputStream openResourceStream(java.lang.String name) throws java.io.IOException
name
- the resource identificationjava.io.IOException
- on i/o errorjava.net.URL getResource(java.lang.String name)
name
-