|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopennlp.maxent.io.GISModelReader
opennlp.maxent.io.ObjectGISModelReader
public class ObjectGISModelReader
| Field Summary | |
|---|---|
protected java.io.ObjectInputStream |
input
|
| Fields inherited from class opennlp.maxent.io.GISModelReader |
|---|
NUM_PREDS |
| Constructor Summary | |
|---|---|
ObjectGISModelReader(java.io.ObjectInputStream dis)
Constructor which directly instantiates the ObjectInputStream containing the model contents. |
|
| Method Summary | |
|---|---|
protected double |
readDouble()
Implement as needed for the format the model is stored in. |
protected int |
readInt()
Implement as needed for the format the model is stored in. |
protected java.lang.String |
readUTF()
Implement as needed for the format the model is stored in. |
| Methods inherited from class opennlp.maxent.io.GISModelReader |
|---|
checkModelType, getCorrectionConstant, getCorrectionParameter, getModel, getOutcomePatterns, getOutcomes, getParameters, getPredicates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.ObjectInputStream input
| Constructor Detail |
|---|
public ObjectGISModelReader(java.io.ObjectInputStream dis)
dis - The DataInputStream containing the model information.| Method Detail |
|---|
protected int readInt()
throws java.io.IOException
GISModelReader
readInt in class GISModelReaderjava.io.IOException
protected double readDouble()
throws java.io.IOException
GISModelReader
readDouble in class GISModelReaderjava.io.IOException
protected java.lang.String readUTF()
throws java.io.IOException
GISModelReader
readUTF in class GISModelReaderjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||