Package com.ardor3d.extension.model.ply
Class PlyImporter.PlyFileParser
java.lang.Object
java.io.StreamTokenizer
com.ardor3d.extension.model.ply.PlyImporter.PlyFileParser
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
PlyImporter
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.StreamTokenizer
commentChar, eolIsSignificant, lineno, lowerCaseMode, nextToken, ordinaryChar, ordinaryChars, parseNumbers, pushBack, quoteChar, resetSyntax, slashSlashComments, slashStarComments, toString, whitespaceChars, wordChars
-
Constructor Details
-
PlyFileParser
Constructor.- Parameters:
reader
- The Reader.
-
-
Method Details
-
getNumber
protected boolean getNumber()Gets a number from the stream. Need to extract numbers since they may be in scientific notation. The number is returned in nval.- Returns:
- Logical-true if successful, else logical-false.
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-