Package edu.uci.ics.jung.io
Interface GraphReader<G extends Hypergraph<V,E>,V,E>
- Type Parameters:
G
- the graph typeV
- the vertex type the vertex typeV
- the edge type the edge type
- All Known Implementing Classes:
GraphMLReader2
public interface GraphReader<G extends Hypergraph<V,E>,V,E>
Interface for a reader of graph objects
-
Method Summary
-
Method Details
-
readGraph
Reads a single graph object, if one is available.- Returns:
- the next graph object, or null if none exists.
- Throws:
GraphIOException
- thrown if an error occurred.
-
close
Closes this resource and frees any resources.- Throws:
GraphIOException
- thrown if an error occurred.
-