Package org.sunflow.core.parser
Class SCBinaryParser
- java.lang.Object
-
- org.sunflow.core.parser.SCAbstractParser
-
- org.sunflow.core.parser.SCBinaryParser
-
- All Implemented Interfaces:
SceneParser
public class SCBinaryParser extends SCAbstractParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sunflow.core.parser.SCAbstractParser
SCAbstractParser.Keyword
-
-
Constructor Summary
Constructors Constructor Description SCBinaryParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseParser()protected voidopenParser(java.lang.String filename)protected booleanparseBoolean()protected floatparseFloat()protected intparseInt()protected ParameterList.InterpolationTypeparseInterpolationType()protected SCAbstractParser.KeywordparseKeyword()protected Matrix4parseMatrix()protected java.lang.StringparseString()protected java.lang.StringparseVerbatimString()-
Methods inherited from class org.sunflow.core.parser.SCAbstractParser
parse, parseFloatArray
-
-
-
-
Method Detail
-
closeParser
protected void closeParser() throws java.io.IOException- Specified by:
closeParserin classSCAbstractParser- Throws:
java.io.IOException
-
openParser
protected void openParser(java.lang.String filename) throws java.io.IOException- Specified by:
openParserin classSCAbstractParser- Throws:
java.io.IOException
-
parseBoolean
protected boolean parseBoolean() throws java.io.IOException- Specified by:
parseBooleanin classSCAbstractParser- Throws:
java.io.IOException
-
parseFloat
protected float parseFloat() throws java.io.IOException- Specified by:
parseFloatin classSCAbstractParser- Throws:
java.io.IOException
-
parseInt
protected int parseInt() throws java.io.IOException- Specified by:
parseIntin classSCAbstractParser- Throws:
java.io.IOException
-
parseMatrix
protected Matrix4 parseMatrix() throws java.io.IOException
- Specified by:
parseMatrixin classSCAbstractParser- Throws:
java.io.IOException
-
parseString
protected java.lang.String parseString() throws java.io.IOException- Specified by:
parseStringin classSCAbstractParser- Throws:
java.io.IOException
-
parseVerbatimString
protected java.lang.String parseVerbatimString() throws java.io.IOException- Specified by:
parseVerbatimStringin classSCAbstractParser- Throws:
java.io.IOException
-
parseInterpolationType
protected ParameterList.InterpolationType parseInterpolationType() throws java.io.IOException
- Specified by:
parseInterpolationTypein classSCAbstractParser- Throws:
java.io.IOException
-
parseKeyword
protected SCAbstractParser.Keyword parseKeyword() throws java.io.IOException
- Specified by:
parseKeywordin classSCAbstractParser- Throws:
java.io.IOException
-
-