|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sunflow.core.parser.SCParser
public class SCParser
This class provides a static method for loading files in the Sunflow scene file format.
Constructor Summary | |
---|---|
SCParser()
|
Method Summary | |
---|---|
boolean |
parse(java.lang.String filename,
SunflowAPIInterface api)
Parse the specified file to create a scene description into the provided SunflowAPI object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCParser()
Method Detail |
---|
public boolean parse(java.lang.String filename, SunflowAPIInterface api)
SceneParser
SunflowAPI
object.
parse
in interface SceneParser
filename
- filename to parseapi
- scene to parse the file into
true
upon sucess, or false
if
errors have occured.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |