| java.lang.Object java.io.StreamTokenizer com.sun.j3d.loaders.objectfile.ObjectFileParser
Method Summary | |
void | getNumber() getNumber
Gets a number from the stream. | void | getToken() getToken
Gets the next token from the stream. | void | printToken() | void | setup() setup
Sets up StreamTokenizer for reading ViewPoint .obj file format. | void | skipToNextLine() skipToNextLine
Skips all tokens on the rest of this line. |
getNumber | void getNumber() throws ParsingErrorException(Code) | | getNumber
Gets a number from the stream. Note that we don't recognize
numbers in the tokenizer automatically because numbers might be in
scientific notation, which isn't processed correctly by
StreamTokenizer. The number is returned in nval.
|
getToken | void getToken() throws ParsingErrorException(Code) | | getToken
Gets the next token from the stream. Puts one of the four
constants (TT_WORD, TT_NUMBER, TT_EOL, or TT_EOF) or the token value
for single character tokens into ttype. Handles backslash
continuation of lines.
|
printToken | void printToken()(Code) | | |
setup | void setup()(Code) | | setup
Sets up StreamTokenizer for reading ViewPoint .obj file format.
|
skipToNextLine | void skipToNextLine() throws ParsingErrorException(Code) | | skipToNextLine
Skips all tokens on the rest of this line. Doesn't do anything if
We're already at the end of a line
|
|
|