opennlp.model
Class BinaryFileDataReader
java.lang.Object
opennlp.model.BinaryFileDataReader
- All Implemented Interfaces:
- DataReader
public class BinaryFileDataReader
- extends Object
- implements DataReader
BinaryFileDataReader
public BinaryFileDataReader(File f)
throws IOException
- Throws:
IOException
BinaryFileDataReader
public BinaryFileDataReader(InputStream in)
BinaryFileDataReader
public BinaryFileDataReader(DataInputStream in)
readDouble
public double readDouble()
throws IOException
- Specified by:
readDouble
in interface DataReader
- Throws:
IOException
readInt
public int readInt()
throws IOException
- Specified by:
readInt
in interface DataReader
- Throws:
IOException
readUTF
public String readUTF()
throws IOException
- Specified by:
readUTF
in interface DataReader
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.