V
- the graph vertex typeE
- the graph edge typeGraphImporter
instead.@Deprecated public interface GraphImporter<V,E>
Modifier and Type | Method and Description |
---|---|
default void |
importGraph(Graph<V,E> g,
File file)
Deprecated.
Import a graph
|
default void |
importGraph(Graph<V,E> g,
InputStream in)
Deprecated.
Import a graph
|
void |
importGraph(Graph<V,E> g,
Reader in)
Deprecated.
Import a graph
|
default void importGraph(Graph<V,E> g, InputStream in) throws ImportException
g
- the graphin
- the input streamImportException
- in case any error occurs, such as I/O or parse errorvoid importGraph(Graph<V,E> g, Reader in) throws ImportException
g
- the graphin
- the input readerImportException
- in case any error occurs, such as I/O or parse errordefault void importGraph(Graph<V,E> g, File file) throws ImportException
g
- the graphfile
- the file to read fromImportException
- in case any error occurs, such as I/O or parse errorCopyright © 2017. All rights reserved.