org.jgrapht.io
Interface GraphImporter<V,E>
-
- Type Parameters:
V- the graph vertex typeE- the graph edge type
public interface GraphImporter<V,E>Interface for graph importers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default voidimportGraph(Graph<V,E> g, java.io.File file)Import a graphdefault voidimportGraph(Graph<V,E> g, java.io.InputStream in)Import a graphvoidimportGraph(Graph<V,E> g, java.io.Reader in)Import a graph
-
-
-
Method Detail
-
importGraph
default void importGraph(Graph<V,E> g, java.io.InputStream in) throws ImportException
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
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
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