public final class DOTSerializationProvider<N,E> extends Object implements ModelSerializer<Graph<N,E>>
Modifier and Type | Method and Description |
---|---|
static <N,E> DOTSerializationProvider<N,E> |
getInstance() |
void |
writeModel(OutputStream os,
Graph<N,E> model)
Writes the model to the given output stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeModel
public static <N,E> DOTSerializationProvider<N,E> getInstance()
public void writeModel(OutputStream os, Graph<N,E> model) throws IOException
ModelSerializer
Note: the output stream will not be closed.
writeModel
in interface ModelSerializer<Graph<N,E>>
os
- the output stream to write tomodel
- the model to writeIOException
- when writing to the output stream fails.Copyright © 2020. All rights reserved.