Package org.sunflow.core.parser
Class RA2Parser
- java.lang.Object
-
- org.sunflow.core.parser.RA2Parser
-
- All Implemented Interfaces:
SceneParser
public class RA2Parser extends java.lang.Object implements SceneParser
-
-
Constructor Summary
Constructors Constructor Description RA2Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
parse(java.lang.String filename, SunflowAPIInterface api)
Parse the specified file to create a scene description into the providedSunflowAPI
object.
-
-
-
Method Detail
-
parse
public boolean parse(java.lang.String filename, SunflowAPIInterface api)
Description copied from interface:SceneParser
Parse the specified file to create a scene description into the providedSunflowAPI
object.- Specified by:
parse
in interfaceSceneParser
- Parameters:
filename
- filename to parseapi
- scene to parse the file into- Returns:
true
upon sucess, orfalse
if errors have occured.
-
-