urv.emulator.topology.parser
Interface Parser
- All Known Implementing Classes:
- DynamicPajekParserImpl, PajekParserImpl
public interface Parser
This interface must be implemented in order to create
file parser classes.
- Author:
- Marcel Arrufat
loadNetwork
GraphInformation loadNetwork(java.lang.String file)
- This method must load network file and create a new NetworkGraph.
NetworkGraph must contain node and edges information (both stored in
LinkedList). This information can be stored by using addNode and addEdge
methods
- Parameters:
file
- local file from which NetworkGraph will be load
- Returns: