public class ClasspathLocation extends java.lang.Object implements ResourceLocation
| Constructor and Description |
|---|
ClasspathLocation() |
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getResource(java.lang.String ref)
Get a resource as a URL
|
java.io.InputStream |
getResourceAsStream(java.lang.String ref)
Get a resource as an input stream
|
public java.net.URL getResource(java.lang.String ref)
ResourceLocationgetResource in interface ResourceLocationref - The reference to the resource to retrievepublic java.io.InputStream getResourceAsStream(java.lang.String ref)
ResourceLocationgetResourceAsStream in interface ResourceLocationref - The reference to the resource to retrieve