org.sunflow.core.parser
Class RA3Parser

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

public class RA3Parser
extends java.lang.Object
implements SceneParser


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

RA3Parser

public RA3Parser()
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.