public static class GraphModel.Serialization extends Object
| Constructor and Description |
|---|
Serialization() |
| Modifier and Type | Method and Description |
|---|---|
static GraphModel |
read(DataInput input)
Read the
input and return the read graph model. |
static void |
write(DataOutput output,
GraphModel graphModel)
Write
graphModel to output. |
public static GraphModel read(DataInput input) throws IOException
input and return the read graph model.input - data input to read fromIOException - if an io error occurspublic static void write(DataOutput output, GraphModel graphModel) throws IOException
graphModel to output.output - data output to write tographModel - graph model to writeIOException - if an io error occursCopyright © 2007–2015 Gephi Consortium. All rights reserved.