org.jgrapht.ext
Interface GraphImporter<V,E>
-
- Type Parameters:
V- the graph vertex typeE- the graph edge type
- All Known Implementing Classes:
- DIMACSImporter, DOTImporter
Deprecated.UseGraphImporterinstead.
@Deprecated public interface GraphImporter<V,E>Interface for graph importers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method and Description default voidimportGraph(Graph<V,E> g, java.io.File file)Deprecated.Import a graphdefault voidimportGraph(Graph<V,E> g, java.io.InputStream in)Deprecated.Import a graphvoidimportGraph(Graph<V,E> g, java.io.Reader in)Deprecated.Import a graph
-
-
-
Method Detail
-
importGraph
default void importGraph(Graph<V,E> g, java.io.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, java.io.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, java.io.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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG