graphics
Class ResourceRetriever
java.lang.Object
graphics.ResourceRetriever
public class ResourceRetriever
- extends Object
Utility class that allows transparent reading of files from
the current working directory or from the classpath.
See nehe.gamedev.net for documentation
- Author:
- Pepijn Van Eeckhoudt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceRetriever
public ResourceRetriever()
getResource
public static URL getResource(String filename)
throws IOException
- Throws:
IOException
getResourceAsStream
public static InputStream getResourceAsStream(String filename)
throws IOException
- Throws:
IOException