public class SuffixSensitiveGISModelWriter extends GISModelWriter
The following assumption are made about suffixes:
| Constructor and Description |
|---|
SuffixSensitiveGISModelWriter(AbstractModel model,
File f)
Constructor which takes a GISModel and a File and invokes the
GISModelWriter appropriate for the suffix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
writeDouble(double d) |
void |
writeInt(int i) |
void |
writeUTF(String s) |
persistpublic SuffixSensitiveGISModelWriter(AbstractModel model, File f) throws IOException
model - The GISModel which is to be persisted.f - The File in which the model is to be stored.IOExceptionpublic 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 © 2015 The Apache Software Foundation. All rights reserved.