BinaryGISModelReader (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.ml.maxent.io

## Class BinaryGISModelReader

- java.lang.Object
- - opennlp.tools.ml.model.AbstractModelReader
  - - opennlp.tools.ml.maxent.io.GISModelReader
    - - opennlp.tools.ml.maxent.io.BinaryGISModelReader

-     public class BinaryGISModelReader
      extends GISModelReader

  A reader for GIS models stored in binary format.

- - ### Field Summary

    - ### Fields inherited from class opennlp.tools.ml.model.AbstractModelReader

      `MAX_ENTRIES_PROPERTY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BinaryGISModelReader(DataInputStream dis)` Constructor which directly instantiates the DataInputStream containing the model contents.

  - ### Method Summary

    - ### Methods inherited from class opennlp.tools.ml.maxent.io.GISModelReader

      `checkModelType, constructModel`

    - ### Methods inherited from class opennlp.tools.ml.model.AbstractModelReader

      `getModel, readDouble, readInt, readUTF`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BinaryGISModelReader

          public BinaryGISModelReader(DataInputStream dis)

      Constructor which directly instantiates the DataInputStream containing the model contents.
      Parameters:
        `dis` - The DataInputStream containing the model information.

Copyright © 2026 The Apache Software Foundation. All rights reserved.