Package org.sunflow.core.parser
Class SCParser
- java.lang.Object
-
- org.sunflow.core.parser.SCParser
-
- All Implemented Interfaces:
SceneParser
public class SCParser extends java.lang.Object implements SceneParser
This class provides a static method for loading files in the Sunflow scene file format.
-
-
Constructor Summary
Constructors Constructor Description SCParser()
-
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.
-
-