Package opennlp.tools.ml.model
Class BinaryFileDataReader
- java.lang.Object
-
- opennlp.tools.ml.model.BinaryFileDataReader
-
- All Implemented Interfaces:
DataReader
public class BinaryFileDataReader extends java.lang.Object implements DataReader
-
-
Constructor Summary
Constructors Constructor Description BinaryFileDataReader(java.io.DataInputStream in)BinaryFileDataReader(java.io.File f)BinaryFileDataReader(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublereadDouble()intreadInt()java.lang.StringreadUTF()
-
-
-
Method Detail
-
readDouble
public double readDouble() throws java.io.IOException- Specified by:
readDoublein interfaceDataReader- Throws:
java.io.IOException
-
readInt
public int readInt() throws java.io.IOException- Specified by:
readIntin interfaceDataReader- Throws:
java.io.IOException
-
readUTF
public java.lang.String readUTF() throws java.io.IOException- Specified by:
readUTFin interfaceDataReader- Throws:
java.io.IOException
-
-