public class GenericModelWriter extends AbstractModelWriter
Constructor and Description |
---|
GenericModelWriter(AbstractModel model,
DataOutputStream dos) |
GenericModelWriter(AbstractModel model,
File file) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
persist() |
void |
writeDouble(double d) |
void |
writeInt(int i) |
void |
writeUTF(String s) |
public GenericModelWriter(AbstractModel model, File file) throws IOException
IOException
public GenericModelWriter(AbstractModel model, DataOutputStream dos)
public void close() throws IOException
close
in class AbstractModelWriter
IOException
public void persist() throws IOException
persist
in class AbstractModelWriter
IOException
public void writeDouble(double d) throws IOException
writeDouble
in class AbstractModelWriter
IOException
public void writeInt(int i) throws IOException
writeInt
in class AbstractModelWriter
IOException
public void writeUTF(String s) throws IOException
writeUTF
in class AbstractModelWriter
IOException
Copyright © 2018 The Apache Software Foundation. All rights reserved.