V
- the graph vertex typeE
- the graph edge typepublic interface GraphExporter<V,E>
Modifier and Type | Method and Description |
---|---|
default void |
exportGraph(Graph<V,E> g,
File file)
Export a graph
|
default void |
exportGraph(Graph<V,E> g,
OutputStream out)
Export a graph
|
void |
exportGraph(Graph<V,E> g,
Writer writer)
Export a graph
|
default void exportGraph(Graph<V,E> g, OutputStream out) throws ExportException
g
- the graph to exportout
- the output streamExportException
- in case any error occursvoid exportGraph(Graph<V,E> g, Writer writer) throws ExportException
g
- the graph to exportwriter
- the output writerExportException
- in case any error occursdefault void exportGraph(Graph<V,E> g, File file) throws ExportException
g
- the graph to exportfile
- the file to write toExportException
- in case any error occursCopyright © 2018. All rights reserved.