Package opennlp.tools.ml.maxent.io

## Class QNModelWriter

- java.lang.Object
- - opennlp.tools.ml.model.AbstractModelWriter
  - - opennlp.tools.ml.maxent.io.GISModelWriter
    - - opennlp.tools.ml.maxent.io.QNModelWriter

- Direct Known Subclasses:
    `BinaryQNModelWriter`

      public abstract class QNModelWriter
      extends GISModelWriter

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QNModelWriter​(AbstractModel model)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `persist()` | Writes the model to disk, using the `writeX()` methods provided by extending classes.

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

      `close, writeDouble, writeInt, writeUTF`

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

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

- - ### Constructor Detail

    - #### QNModelWriter

          public QNModelWriter​(AbstractModel model)

  - ### Method Detail

    - #### persist

          public void persist()
                       throws IOException

      Description copied from class: `GISModelWriter`
      Writes the model to disk, using the `writeX()` methods provided by extending classes.

      If you wish to create a GISModelWriter which uses a different structure, it will be necessary to override the persist method in addition to implementing the `writeX()` methods.

      Overrides:
        `persist` in class `GISModelWriter`
      Throws:
        `IOException`