fr.umlv.unitex
Class GraphCollection

java.lang.Object
  extended by fr.umlv.unitex.GraphCollection

public class GraphCollection
extends java.lang.Object

This class provides methods that generate a graph that calls all the subgraphs contained in a directory.

Author:
Sébastien Paumier

Constructor Summary
GraphCollection()
           
 
Method Summary
static void build(java.io.File srcDir, java.io.File destGraph, boolean copy)
          Builds a graph that calls all subgraphs contained in a directory.
static void buildGraphCollection(java.io.File srcDir, java.io.File destGraph, boolean copy, javax.swing.JLabel txt)
          Builds a graph that calls all subgraphs contained in a directory.
static void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphCollection

public GraphCollection()
Method Detail

build

public static void build(java.io.File srcDir,
                         java.io.File destGraph,
                         boolean copy)
Builds a graph that calls all subgraphs contained in a directory. If the parameter copy is set to true, subgraphs are copied into the destination directory. This method shows a frame that displays the scanned directories.

Parameters:
srcDir - the source directory
destGraph - the destination graph
copy - indicates if subgraphs must be copied or not

buildGraphCollection

public static void buildGraphCollection(java.io.File srcDir,
                                        java.io.File destGraph,
                                        boolean copy,
                                        javax.swing.JLabel txt)
Builds a graph that calls all subgraphs contained in a directory. If the parameter copy is set to true, subgraphs are copied into the destination directory.

Parameters:
srcDir - the source directory
destGraph - the destination graph
copy - indicates if subgraphs must be copied or not

stop

public static void stop()