| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.util.FileSystemLocation
public class FileSystemLocation
A resource loading location that searches somewhere on the classpath
| Constructor Summary | |
|---|---|
| FileSystemLocation(java.io.File root)Create a new resoruce location based on the file system | |
| 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 FileSystemLocation(java.io.File root)
root - The root of the file system to search| 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(String)public java.io.InputStream getResourceAsStream(java.lang.String ref)
ResourceLocation
getResourceAsStream in interface ResourceLocationref - The reference to the resource to retrieve
ResourceLocation.getResourceAsStream(String)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||