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

opennlp.tools.ml.model

## Interface DataReader

- All Known Implementing Classes:
    BinaryFileDataReader, ObjectDataReader, PlainTextFileDataReader

      public interface DataReader

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `readDouble()`
    `int` | `readInt()`
    `String` | `readUTF()`

- - ### Method Detail

    - #### readDouble

          double readDouble()
                     throws IOException

      Throws:
        `IOException`

    - #### readInt

          int readInt()
               throws IOException

      Throws:
        `IOException`

    - #### readUTF

          String readUTF()
                  throws IOException

      Throws:
        `IOException`

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