opennlp.model
Class PlainTextFileDataReader
java.lang.Object
opennlp.model.PlainTextFileDataReader
- All Implemented Interfaces:
- DataReader
public class PlainTextFileDataReader
- extends java.lang.Object
- implements DataReader
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainTextFileDataReader
public PlainTextFileDataReader(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
PlainTextFileDataReader
public PlainTextFileDataReader(java.io.InputStream in)
PlainTextFileDataReader
public PlainTextFileDataReader(java.io.BufferedReader in)
readDouble
public double readDouble()
throws java.io.IOException
- Specified by:
readDouble
in interface DataReader
- Throws:
java.io.IOException
readInt
public int readInt()
throws java.io.IOException
- Specified by:
readInt
in interface DataReader
- Throws:
java.io.IOException
readUTF
public java.lang.String readUTF()
throws java.io.IOException
- Specified by:
readUTF
in interface DataReader
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.