|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceFinder
Interface for opening application resource files such as scripts sources.
This is used by required to load files that are part of the application, and implemented by BaseLib for both the Jme and Jse platforms.
The Jme version of base lib BaseLib
implements BaseLib.FINDER
via Class.getResourceAsStream(String)
,
while the Jse version JseBaseLib
implements it using File.File(String)
.
The io library does not use this API for file manipulation.
BaseLib
,
BaseLib.FINDER
,
JseBaseLib
,
JmePlatform
,
JsePlatform
Method Summary | |
---|---|
java.io.InputStream |
findResource(java.lang.String filename)
Try to open a file, or return null if not found. |
Method Detail |
---|
java.io.InputStream findResource(java.lang.String filename)
filename
-
BaseLib
,
JseBaseLib
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |