Package opennlp.tools.ml.model
Class ObjectDataReader
- java.lang.Object
-
- opennlp.tools.ml.model.ObjectDataReader
-
- All Implemented Interfaces:
DataReader
public class ObjectDataReader extends Object implements DataReader
-
-
Constructor Summary
Constructors Constructor Description ObjectDataReader(ObjectInputStream ois)
-
-
-
Constructor Detail
-
ObjectDataReader
public ObjectDataReader(ObjectInputStream ois)
-
-
Method Detail
-
readDouble
public double readDouble() throws IOException- Specified by:
readDoublein interfaceDataReader- Throws:
IOException
-
readInt
public int readInt() throws IOException- Specified by:
readIntin interfaceDataReader- Throws:
IOException
-
readUTF
public String readUTF() throws IOException
- Specified by:
readUTFin interfaceDataReader- Throws:
IOException
-
-