org.sunflow.core.parser
Class SCAsciiParser
java.lang.Object
org.sunflow.core.parser.SCAbstractParser
org.sunflow.core.parser.SCAsciiParser
- All Implemented Interfaces:
- SceneParser
public class SCAsciiParser
- extends SCAbstractParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCAsciiParser
public SCAsciiParser()
parseColor
protected Color parseColor()
throws java.io.IOException
- Throws:
java.io.IOException
parseMatrix
protected Matrix4 parseMatrix()
throws java.io.IOException
- Specified by:
parseMatrix
in class SCAbstractParser
- Throws:
java.io.IOException
closeParser
protected void closeParser()
throws java.io.IOException
- Specified by:
closeParser
in class SCAbstractParser
- Throws:
java.io.IOException
openParser
protected void openParser(java.lang.String filename)
throws java.io.IOException
- Specified by:
openParser
in class SCAbstractParser
- Throws:
java.io.IOException
parseBoolean
protected boolean parseBoolean()
throws java.io.IOException
- Specified by:
parseBoolean
in class SCAbstractParser
- Throws:
java.io.IOException
parseFloat
protected float parseFloat()
throws java.io.IOException
- Specified by:
parseFloat
in class SCAbstractParser
- Throws:
java.io.IOException
parseInt
protected int parseInt()
throws java.io.IOException
- Specified by:
parseInt
in class SCAbstractParser
- Throws:
java.io.IOException
parseString
protected java.lang.String parseString()
throws java.io.IOException
- Specified by:
parseString
in class SCAbstractParser
- Throws:
java.io.IOException
parseVerbatimString
protected java.lang.String parseVerbatimString()
throws java.io.IOException
- Specified by:
parseVerbatimString
in class SCAbstractParser
- Throws:
java.io.IOException
parseInterpolationType
protected ParameterList.InterpolationType parseInterpolationType()
throws java.io.IOException
- Specified by:
parseInterpolationType
in class SCAbstractParser
- Throws:
java.io.IOException
parseKeyword
protected SCAbstractParser.Keyword parseKeyword()
throws java.io.IOException
- Specified by:
parseKeyword
in class SCAbstractParser
- Throws:
java.io.IOException