public class ObjectQNModelWriter extends QNModelWriter
| Modifier and Type | Field and Description |
|---|---|
protected ObjectOutputStream |
output |
outcomeNames, parameters, params, pmap, predNames, predParams| Constructor and Description |
|---|
ObjectQNModelWriter(AbstractModel model,
ObjectOutputStream dos)
Constructor which takes a GISModel and a ObjectOutputStream and prepares
itself to write the model to that stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
writeDouble(double d) |
void |
writeInt(int i) |
void |
writeUTF(String s) |
persistprotected ObjectOutputStream output
public ObjectQNModelWriter(AbstractModel model, ObjectOutputStream dos)
model - The GISModel which is to be persisted.dos - The stream which will be used to persist the model.public void writeUTF(String s) throws IOException
writeUTF in class AbstractModelWriterIOExceptionpublic void writeInt(int i)
throws IOException
writeInt in class AbstractModelWriterIOExceptionpublic void writeDouble(double d)
throws IOException
writeDouble in class AbstractModelWriterIOExceptionpublic void close()
throws IOException
close in class AbstractModelWriterIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.