opennlp.model
Class ObjectDataReader

java.lang.Object
  extended by opennlp.model.ObjectDataReader
All Implemented Interfaces:
DataReader

public class ObjectDataReader
extends Object
implements DataReader


Constructor Summary
ObjectDataReader(ObjectInputStream ois)
           
 
Method Summary
 double readDouble()
           
 int readInt()
           
 String readUTF()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDataReader

public ObjectDataReader(ObjectInputStream ois)
Method Detail

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.