fr.umlv.unitex
Class GraphCollection
java.lang.Object
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
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 |
GraphCollection
public GraphCollection()
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 directorydestGraph
- the destination graphcopy
- 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 directorydestGraph
- the destination graphcopy
- indicates if subgraphs must be copied or not
stop
public static void stop()