org.sunflow.core.parser
Class ShaveRibParser

java.lang.Object
  extended by org.sunflow.core.parser.ShaveRibParser
All Implemented Interfaces:
SceneParser

public class ShaveRibParser
extends java.lang.Object
implements SceneParser


Constructor Summary
ShaveRibParser()
           
 
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

ShaveRibParser

public ShaveRibParser()
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 provided SunflowAPI object.

Specified by:
parse in interface SceneParser
Parameters:
filename - filename to parse
api - scene to parse the file into
Returns:
true upon sucess, or false if errors have occured.