net.sourceforge.schemaspy.view
Class DotConnectorFinder

java.lang.Object
  extended by net.sourceforge.schemaspy.view.DotConnectorFinder

public class DotConnectorFinder
extends Object

Format table data into .dot format to feed to GraphVis' dot program.

Author:
John Currier

Method Summary
static DotConnectorFinder getInstance()
           
 Set getRelatedConnectors(Table table1, Table table2, WriteStats stats)
          Get all the relationships that exist between these two tables.
 Set getRelatedConnectors(Table table, WriteStats stats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DotConnectorFinder getInstance()

getRelatedConnectors

public Set getRelatedConnectors(Table table,
                                WriteStats stats)
Parameters:
table - Table
Returns:
Set of dot relationships (as DotEdges)
Throws:
IOException

getRelatedConnectors

public Set getRelatedConnectors(Table table1,
                                Table table2,
                                WriteStats stats)
Get all the relationships that exist between these two tables.

Parameters:
table1 - Table
table2 - Table
Returns:
Set of dot relationships (as DotEdges)
Throws:
IOException


Copyright © 2007-2010. All Rights Reserved.