Package opennlp.tools.ml.model
Interface DataReader
- All Known Implementing Classes:
BinaryFileDataReader,ObjectDataReader,PlainTextFileDataReader
public interface DataReader
Describes generic ways to read data from a
DataInputStream.-
Method Summary
-
Method Details
-
readDouble
- Returns:
- Reads and returns a
doublevalue. - Throws:
IOException- Thrown if IO errors occurred during read operation.
-
readInt
- Returns:
- Reads and returns an
intvalue. - Throws:
IOException- Thrown if IO errors occurred during read operation.
-
readUTF
- Returns:
- Reads and returns
UTF-encoded characters. - Throws:
IOException- Thrown if IO errors occurred during read operation.
-