BE_graphes/src/main/org/insa/graph/io/GraphReader.java
2018-02-27 23:23:22 +01:00

25 lines
435 B
Java

package org.insa.graph.io;
import java.io.IOException;
import org.insa.graph.Graph;
public interface GraphReader {
/**
* Add a new observer to this graph reader.
*
* @param observer
*/
public void addObserver(GraphReaderObserver observer);
/**
* Read a graph an returns it.
*
* @return Graph.
* @throws Exception
*
*/
public Graph read() throws IOException;
}