Package opennlp.tools.ml.maxent.io

## Class BinaryQNModelReader

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

-     public class BinaryQNModelReader
      extends QNModelReader

  A `QNModelReader` that reads models from a binary format.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BinaryQNModelReader​(DataInputStream dis)` | Instantiates `BinaryQNModelReader` via a `DataInputStream` containing the model contents.

  - ### Method Summary

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

      `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

    - #### BinaryQNModelReader

          public BinaryQNModelReader​(DataInputStream dis)

      Instantiates `BinaryQNModelReader` via a `DataInputStream` containing the model contents.
      Parameters:
        `dis` - The `DataInputStream` containing the model information. It must be open and have bytes available.