- 
- Type Parameters:
- V- the graph vertex type
- E- the graph edge type
 - All Known Implementing Classes:
- CSVImporter,- DIMACSImporter,- DOTImporter,- GmlImporter,- Graph6Sparse6Importer,- GraphMLImporter,- JSONImporter,- SimpleGEXFImporter,- SimpleGraphMLImporter,- TSPLIBImporter
 
 public interface GraphImporter<V,E>Interface for graph importers
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidimportGraph(Graph<V,E> g, java.io.File file)Import a graph from the givenFile.default voidimportGraph(Graph<V,E> g, java.io.InputStream in)Import a graph from the givenInputStream.voidimportGraph(Graph<V,E> g, java.io.Reader in)Import a graph using the givenReader.
 
- 
- 
- 
Method Detail- 
importGraphdefault void importGraph(Graph<V,E> g, java.io.InputStream in) Import a graph from the givenInputStream.It is the callers responsibility to ensure the InputStreamis closed after this method returned.- Parameters:
- g- the graph
- in- the input stream
- Throws:
- ImportException- in case any error occurs, such as I/O or parse error
 
 - 
importGraphvoid importGraph(Graph<V,E> g, java.io.Reader in) Import a graph using the givenReader.It is the callers responsibility to ensure the Readeris closed after this method returned.- Parameters:
- g- the graph
- in- the input reader
- Throws:
- ImportException- in case any error occurs, such as I/O or parse error
 
 - 
importGraphdefault void importGraph(Graph<V,E> g, java.io.File file) Import a graph from the givenFile.- Parameters:
- g- the graph
- file- the file to read from
- Throws:
- ImportException- in case any error occurs, such as I/O or parse error
 
 
- 
 
-