Interface GraphImporter<V,​E>

    • Method Detail

      • importGraph

        default void importGraph​(Graph<V,​E> g,
                                 InputStream in)
                          throws ImportException
        Deprecated.
        Import a graph
        Parameters:
        g - the graph
        in - 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 graph
        in - 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 graph
        file - the file to read from
        Throws:
        ImportException - in case any error occurs, such as I/O or parse error