|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.util.ClasspathLocation
public class ClasspathLocation
A resource location that searches the classpath
| Constructor Summary | |
|---|---|
ClasspathLocation()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClasspathLocation()
| Method Detail |
|---|
public java.net.URL getResource(java.lang.String ref)
ResourceLocation
getResource in interface ResourceLocationref - The reference to the resource to retrieve
ResourceLocation.getResource(java.lang.String)public java.io.InputStream getResourceAsStream(java.lang.String ref)
ResourceLocation
getResourceAsStream in interface ResourceLocationref - The reference to the resource to retrieve
ResourceLocation.getResourceAsStream(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||