org.jgrapht.io
Interface GraphExporter<V,E>
-
- Type Parameters:
V- the graph vertex typeE- the graph edge type
- All Known Implementing Classes:
- VisioExporter
public interface GraphExporter<V,E>Interface for graph exporters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default voidexportGraph(Graph<V,E> g, java.io.File file)Export a graphdefault voidexportGraph(Graph<V,E> g, java.io.OutputStream out)Export a graphvoidexportGraph(Graph<V,E> g, java.io.Writer writer)Export a graph
-
-
-
Method Detail
-
exportGraph
default void exportGraph(Graph<V,E> g, java.io.OutputStream out) throws ExportException
Export a graph- Parameters:
g- the graph to exportout- the output stream- Throws:
ExportException- in case any error occurs
-
exportGraph
void exportGraph(Graph<V,E> g, java.io.Writer writer) throws ExportException
Export a graph- Parameters:
g- the graph to exportwriter- the output writer- Throws:
ExportException- in case any error occurs
-
exportGraph
default void exportGraph(Graph<V,E> g, java.io.File file) throws ExportException
Export a graph- Parameters:
g- the graph to exportfile- the file to write to- Throws:
ExportException- in case any error occurs
-
-
DataMelt 3.0 © DataMelt by jWork.ORG