Class QNModelReader

Direct Known Subclasses:
BinaryQNModelReader

public class QNModelReader extends GISModelReader
The base class for readers of QN models.
See Also:
  • Constructor Details

  • Method Details

    • checkModelType

      public void checkModelType() throws IOException
      Description copied from class: AbstractModelReader
      Checks the model type via the the underlying DataReader.
      Overrides:
      checkModelType in class GISModelReader
      Throws:
      IOException - Thrown if IO errors occurred checking the model type.
    • constructModel

      public QNModel constructModel() throws IOException
      Retrieves a model from disk.

      If you are creating a reader for a format which won't work with this (perhaps a database or xml file), override this method and ignore the other methods provided in this abstract class.

      Overrides:
      constructModel in class GISModelReader
      Returns:
      The QNModel stored in the format and location specified to this QNModelReader (usually via its constructor).
      Throws:
      IOException - Thrown if IO errors occurred during (re-)construction.