|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.levelEditor.ResourceLoader
public class ResourceLoader
Provides convenient, environment-independent access to resource data located within project packages.
Constructor Summary | |
---|---|
ResourceLoader()
|
Method Summary | |
---|---|
static java.io.File |
getFile(java.lang.Package resPackage,
java.lang.String fileName)
Loads a resource file from the specified package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceLoader()
Method Detail |
---|
public static java.io.File getFile(java.lang.Package resPackage, java.lang.String fileName)
resPackage
- The package that contains this resource.fileName
- The filename of this resource.
null
if the resource cannot be retrieved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |