org.xistrat.util.d3.vrmlgraph
Class TextOutput

java.lang.Object
  extended by org.xistrat.util.d3.vrmlgraph.TextOutput

public class TextOutput
extends java.lang.Object

This class is used to create a text file representation of the current contents of the GraphData object that was passed via its constructor

Since:
0.6.90

Constructor Summary
TextOutput(GraphData graph)
          Constructor for the TextOutput object
 
Method Summary
 void writeToFile(java.lang.String outFile)
          Write a representation of the current GraphData oject to a text file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextOutput

public TextOutput(GraphData graph)
Constructor for the TextOutput object

Parameters:
graph - The GraphData object to be output as text.
Method Detail

writeToFile

public void writeToFile(java.lang.String outFile)
                 throws java.lang.Exception
Write a representation of the current GraphData oject to a text file

Parameters:
outFile - The filename to be output to
Throws:
java.lang.Exception - An exception is throw if an error occurs