Package org.jgrapht.io
Interface GraphImporter<V,E>
-
- Type Parameters:
V- the graph vertex typeE- the graph edge type
- All Known Implementing Classes:
CSVImporter,DIMACSImporter,DOTImporter,GmlImporter,Graph6Sparse6Importer,GraphMLImporter,JSONImporter,SimpleGraphMLImporter
@Deprecated public interface GraphImporter<V,E>
Deprecated.In favor of nio package.Interface for graph importers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidimportGraph(Graph<V,E> g, File file)Deprecated.Import a graphdefault voidimportGraph(Graph<V,E> g, InputStream in)Deprecated.Import a graphvoidimportGraph(Graph<V,E> g, Reader in)Deprecated.Import a graph
-
-
-
Method Detail
-
importGraph
default void importGraph(Graph<V,E> g, InputStream in) throws ImportException
Deprecated.Import a graph- Parameters:
g- the graphin- the input stream- Throws:
ImportException- in case any error occurs, such as I/O or parse error
-
importGraph
void importGraph(Graph<V,E> g, Reader in) throws ImportException
Deprecated.Import a graph- Parameters:
g- the graphin- the input reader- Throws:
ImportException- in case any error occurs, such as I/O or parse error
-
importGraph
default void importGraph(Graph<V,E> g, File file) throws ImportException
Deprecated.Import a graph- Parameters:
g- the graphfile- the file to read from- Throws:
ImportException- in case any error occurs, such as I/O or parse error
-
-