Documentation of 'org.jgrapht.io.GraphImporter' Java class
GraphImporter
org.jgrapht.io

Interface GraphImporter<V,E>

  • Type Parameters:
    V - the graph vertex type
    E - the graph edge type


    public interface GraphImporter<V,E>
    Interface for graph importers
    • Method Detail

      • importGraph

        default void importGraph(Graph<V,E> g,
                                 java.io.InputStream in)
                          throws ImportException
        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,
                         java.io.Reader in)
                  throws ImportException
        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,
                                 java.io.File file)
                          throws ImportException
        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

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.