Class PlyImporter.PlyFileParser

java.lang.Object
java.io.StreamTokenizer
com.ardor3d.extension.model.ply.PlyImporter.PlyFileParser
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
PlyImporter

public static class PlyImporter.PlyFileParser extends StreamTokenizer implements Closeable
  • Constructor Details

    • PlyFileParser

      public PlyFileParser(Reader reader)
      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

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException