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 booleanparse(java.lang.String filename, SunflowAPIInterface api)Parse the specified file to create a scene description into the providedSunflowAPIobject.
-
-
-
Method Detail
-
parse
public boolean parse(java.lang.String filename, SunflowAPIInterface api)Description copied from interface:SceneParserParse the specified file to create a scene description into the providedSunflowAPIobject.- Specified by:
parsein interfaceSceneParser- Parameters:
filename- filename to parseapi- scene to parse the file into- Returns:
trueupon sucess, orfalseif errors have occured.
-
-