org.sunflow.core.parser
Class RA2Parser
java.lang.Object
org.sunflow.core.parser.RA2Parser
- SceneParser
public class RA2Parser
extends java.lang.Object
boolean | parse(String filename, SunflowAPI api) - Parse the specified file to create a scene description into the provided
SunflowAPI object.
|
parse
public boolean parse(String filename,
SunflowAPI api)
Parse the specified file to create a scene description into the provided
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.