Class ObjectDataReader

java.lang.Object
opennlp.tools.ml.model.ObjectDataReader
All Implemented Interfaces:
opennlp.tools.ml.model.DataReader

public class ObjectDataReader extends Object implements opennlp.tools.ml.model.DataReader
A DataReader implementation based on ObjectInputStream.
  • Constructor Details

  • Method Details

    • readDouble

      public double readDouble() throws IOException
      Specified by:
      readDouble in interface opennlp.tools.ml.model.DataReader
      Throws:
      IOException
    • readInt

      public int readInt() throws IOException
      Specified by:
      readInt in interface opennlp.tools.ml.model.DataReader
      Throws:
      IOException
    • readUTF

      public String readUTF() throws IOException
      Specified by:
      readUTF in interface opennlp.tools.ml.model.DataReader
      Throws:
      IOException