hydroScalingAPI.mainGUI.objects
Class BuildFilesTree

java.lang.Object
  extended by java.lang.Thread
      extended by hydroScalingAPI.mainGUI.objects.BuildFilesTree
All Implemented Interfaces:
java.lang.Runnable

public class BuildFilesTree
extends java.lang.Thread

Creates a class that digs recursively for sub-directories into a specified directory

Author:
Ricardo Mantilla

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BuildFilesTree(javax.swing.tree.DefaultMutableTreeNode topNode, java.io.File rf, java.io.FileFilter filter)
          Creates a new instance of buildFilesTree
 
Method Summary
static void main(java.lang.String[] args)
          Tests for the class
 void run()
          The run() method
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildFilesTree

public BuildFilesTree(javax.swing.tree.DefaultMutableTreeNode topNode,
                      java.io.File rf,
                      java.io.FileFilter filter)
Creates a new instance of buildFilesTree

Parameters:
topNode - The DefaultMutableTreeNode to which the new found subdirectories and files will be attached.
rf - The path to be explored
filter - A FileFilter that indicates the files to look for in the recursive search
Method Detail

run

public void run()
The run() method

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

main

public static void main(java.lang.String[] args)
Tests for the class

Parameters:
args - the command line arguments


CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.