Package org.jgrapht.io
Interface GraphExporter<V,E>
-
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
- All Known Implementing Classes:
CSVExporter
,DIMACSExporter
,DOTExporter
,GmlExporter
,Graph6Sparse6Exporter
,GraphMLExporter
,JSONExporter
,LemonExporter
,MatrixExporter
,VisioExporter
@Deprecated public interface GraphExporter<V,E>
Deprecated.In favor of nio package.Interface for graph exporters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
exportGraph(Graph<V,E> g, File file)
Deprecated.Export a graphdefault void
exportGraph(Graph<V,E> g, OutputStream out)
Deprecated.Export a graphvoid
exportGraph(Graph<V,E> g, Writer writer)
Deprecated.Export a graph
-
-
-
Method Detail
-
exportGraph
default void exportGraph(Graph<V,E> g, OutputStream out) throws ExportException
Deprecated.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, Writer writer) throws ExportException
Deprecated.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, File file) throws ExportException
Deprecated.Export a graph- Parameters:
g
- the graph to exportfile
- the file to write to- Throws:
ExportException
- in case any error occurs
-
-