Export
Class OtterExport

java.lang.Object
  |
  +--Export.OtterExport

public class OtterExport
extends java.lang.Object

Export.OtterExport provides functionality to export a topology into a format recognized by Otter (*.odf file). Otter is one of CAIDA's network topology visualization tools. Otter's main benefits include data independency and versatility. You can obtain Otter from http://www.caida.org/tools/visualization/.


Constructor Summary
OtterExport(Topology t, java.io.File outFile)
          Class Constructor: Returns an OtterExport object which your code may keey around for later use.
 
Method Summary
 void export()
          Writes the contents of the topology to the destination file in a format that is understood by Otter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtterExport

public OtterExport(Topology t,
                   java.io.File outFile)
Class Constructor: Returns an OtterExport object which your code may keey around for later use. The constructor does not actually write the topology to the file. You must explicitly call export() method of this object in order to write to the file.
Parameters:
t - the topology object to export
outFile - the destination file to write the topology to.
Method Detail

export

public void export()
Writes the contents of the topology to the destination file in a format that is understood by Otter.