Class ObjectDataReader
java.lang.Object
opennlp.tools.ml.model.ObjectDataReader
- All Implemented Interfaces:
opennlp.tools.ml.model.DataReader
A
DataReader implementation based on ObjectInputStream.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectDataReader
Instantiates anObjectDataReader.- Parameters:
ois- The openObjectInputStreamto use.
-
-
Method Details
-
readDouble
- Specified by:
readDoublein interfaceopennlp.tools.ml.model.DataReader- Throws:
IOException
-
readInt
- Specified by:
readIntin interfaceopennlp.tools.ml.model.DataReader- Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceopennlp.tools.ml.model.DataReader- Throws:
IOException
-