public class ClasspathLocation extends Object implements ResourceLocation
| Constructor and Description |
|---|
ClasspathLocation() |
| Modifier and Type | Method and Description |
|---|---|
URL |
getResource(String ref)
Get a resource as a URL
|
InputStream |
getResourceAsStream(String ref)
Get a resource as an input stream
|
public URL getResource(String ref)
ResourceLocationgetResource in interface ResourceLocationref - The reference to the resource to retrieveorg.newdawn.slick.util.ResourceLocation#getResource(java.lang.String)public InputStream getResourceAsStream(String ref)
ResourceLocationgetResourceAsStream in interface ResourceLocationref - The reference to the resource to retrieveorg.newdawn.slick.util.ResourceLocation#getResourceAsStream(java.lang.String)Copyright © 2013. All Rights Reserved.