opennlp.model
Class GenericModelWriter
java.lang.Object
opennlp.model.AbstractModelWriter
opennlp.model.GenericModelWriter
public class GenericModelWriter
- extends AbstractModelWriter
GenericModelWriter
public GenericModelWriter(AbstractModel model,
File file)
throws IOException
- Throws:
IOException
GenericModelWriter
public GenericModelWriter(AbstractModel model,
DataOutputStream dos)
close
public void close()
throws IOException
- Specified by:
close
in class AbstractModelWriter
- Throws:
IOException
persist
public void persist()
throws IOException
- Specified by:
persist
in class AbstractModelWriter
- Throws:
IOException
writeDouble
public void writeDouble(double d)
throws IOException
- Specified by:
writeDouble
in class AbstractModelWriter
- Throws:
IOException
writeInt
public void writeInt(int i)
throws IOException
- Specified by:
writeInt
in class AbstractModelWriter
- Throws:
IOException
writeUTF
public void writeUTF(String s)
throws IOException
- Specified by:
writeUTF
in class AbstractModelWriter
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.