public interface TopologySerializer
TopologySerializer
are able to (de)serialize a Topology
into a specific
String
representation.Modifier and Type | Method and Description |
---|---|
String |
exportToString(Topology topology)
Returns a string representation of this topology.
|
void |
importFromString(Topology topology,
String data)
Imports nodes and wired links from the specified string representation of a
topology.
|
String exportToString(Topology topology)
importFromString(Topology, String)
method. Only the nodes and wired links are exported
here (not the topology's properties).